projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba535e
)
greybus: svc: fix another pwrmon return value
author
Johan Hovold
<johan@hovoldconsulting.com>
Thu, 19 May 2016 14:20:14 +0000
(16:20 +0200)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Fri, 20 May 2016 23:36:43 +0000
(16:36 -0700)
Errno -ENOSYS is reserved for missing syscalls, replace it with -ENOMSG.
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>
drivers/staging/greybus/svc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/svc.c
b/drivers/staging/greybus/svc.c
index 80e8cf04ade9899ee9f3841d2e78bf66bd115763..3e22ed8b691bd9aed26863f49585f29aab2edfe8 100644
(file)
--- a/
drivers/staging/greybus/svc.c
+++ b/
drivers/staging/greybus/svc.c
@@
-202,7
+202,7
@@
int gb_svc_pwrmon_intf_sample_get(struct gb_svc *svc, u8 intf_id,
case GB_SVC_PWRMON_GET_SAMPLE_INVAL:
return -EINVAL;
case GB_SVC_PWRMON_GET_SAMPLE_NOSUPP:
- return -ENO
SYS
;
+ return -ENO
MSG
;
default:
return -EIO;
}