diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-05-09 14:40:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-13 12:02:57 +0200 |
commit | ae0f6454bbe74df324e47041e68018649ce0bcba (patch) | |
tree | 18ca124651ca64f47321e652c118c9c7fb7c9a22 /drivers/staging/greybus/interface.c | |
parent | 03fba180ae4cc3bad27bd792e53dbb7ed2a9f7e7 (diff) |
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>
Diffstat (limited to 'drivers/staging/greybus/interface.c')
-rw-r--r-- | drivers/staging/greybus/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/interface.c b/drivers/staging/greybus/interface.c index aed45bcef376..0b829388a13c 100644 --- a/drivers/staging/greybus/interface.c +++ b/drivers/staging/greybus/interface.c @@ -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); } |