summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/raw.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-03-02 18:00:51 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-03-03 10:02:48 -0800
commitc7733b6167750a42da81133189e9cca33ce7584f (patch)
treec27451ba4039b68acf105bfc3db5cf85cb1787a8 /drivers/staging/greybus/raw.c
parent41993cd54fdc5c774cc4881e18a21e3e4a2544cd (diff)
greybus: raw: use hexadecimal notation for request types
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>
Diffstat (limited to 'drivers/staging/greybus/raw.c')
-rw-r--r--drivers/staging/greybus/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/raw.c b/drivers/staging/greybus/raw.c
index 338139e815af..729d25811568 100644
--- 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;
}