diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-12-04 21:30:10 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-12-04 16:23:36 -0800 |
commit | b933fa4a40962c77254405a5274c8927f53b5074 (patch) | |
tree | 281f046cabe2487c0f219334e66f99048984c382 /drivers/staging/greybus/uart.c | |
parent | 2f3db927cdf7627aa5359ff46c80ab72f7971980 (diff) | |
download | op-kernel-dev-b933fa4a40962c77254405a5274c8927f53b5074.zip op-kernel-dev-b933fa4a40962c77254405a5274c8927f53b5074.tar.gz |
greybus: Prefix hexadecimal values with 0x while printing them
To clearly specify the base for printed values, prefix hexadecimal
values with 0x.
Suggested-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/uart.c')
-rw-r--r-- | drivers/staging/greybus/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index ec978a4..1ba8476 100644 --- a/drivers/staging/greybus/uart.c +++ b/drivers/staging/greybus/uart.c @@ -122,7 +122,7 @@ static int gb_uart_request_recv(u8 type, struct gb_operation *op) break; default: dev_err(&connection->bundle->dev, - "unsupported unsolicited request: %02x\n", type); + "unsupported unsolicited request: 0x%02x\n", type); ret = -EINVAL; } |