mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
greybus: interface: fix type in enable error message
Fix type of PTR_ERR in an interface-enable error message. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
03fba180ae
commit
ae0f6454bb
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ int gb_interface_enable(struct gb_interface *intf)
|
|||
/* Establish control connection */
|
||||
control = gb_control_create(intf);
|
||||
if (IS_ERR(control)) {
|
||||
dev_err(&intf->dev, "failed to create control device: %lu\n",
|
||||
dev_err(&intf->dev, "failed to create control device: %ld\n",
|
||||
PTR_ERR(control));
|
||||
return PTR_ERR(control);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue