projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41993cd
)
greybus: raw: use hexadecimal notation for request types
author
Johan Hovold
<johan@hovoldconsulting.com>
Wed, 2 Mar 2016 17:00:51 +0000
(18:00 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Thu, 3 Mar 2016 18:02:48 +0000
(10:02 -0800)
Use hexadecimal notation for request types in log messages.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/raw.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/raw.c
b/drivers/staging/greybus/raw.c
index
338139e
..
729d258
100644
(file)
--- a/
drivers/staging/greybus/raw.c
+++ b/
drivers/staging/greybus/raw.c
@@
-97,7
+97,7
@@
static int gb_raw_request_handler(struct gb_operation *op)
u32 len;
if (op->type != GB_RAW_TYPE_SEND) {
- dev_err(dev, "unknown request type
%d
\n", op->type);
+ dev_err(dev, "unknown request type
0x%02x
\n", op->type);
return -EINVAL;
}