diff options
author | Alex Elder <elder@linaro.org> | 2014-11-05 16:03:12 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2014-11-05 14:12:26 -0800 |
commit | 6b09938a48d4fd86596c75b19aea3286da2e4d9f (patch) | |
tree | 62cd6a98f59e54a3040414c96b2ccc52b2750dba /drivers/staging/greybus/module.c | |
parent | 545a697512a0b9c08ae4f152b7dd146f02dcbb92 (diff) | |
download | linux-6b09938a48d4fd86596c75b19aea3286da2e4d9f.tar.gz linux-6b09938a48d4fd86596c75b19aea3286da2e4d9f.tar.bz2 linux-6b09938a48d4fd86596c75b19aea3286da2e4d9f.zip |
greybus: improve some error messages
Add a few error messages to help explain the reason for failures.
Add a missing space in a message in svc_management().
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/module.c')
-rw-r--r-- | drivers/staging/greybus/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/module.c b/drivers/staging/greybus/module.c index 3a64a2b3eb06..9cf98cd8d53d 100644 --- a/drivers/staging/greybus/module.c +++ b/drivers/staging/greybus/module.c @@ -100,6 +100,8 @@ struct gb_module *gb_module_create(struct greybus_host_device *hd, u8 module_id) retval = device_add(&gmod->dev); if (retval) { + pr_err("failed to add module device for id 0x%02hhx\n", + module_id); put_device(&gmod->dev); return NULL; } |