diff options
author | Viresh Kumar | 2015-12-04 17:00:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-12-05 01:23:36 +0100 |
commit | b933fa4a40962c77254405a5274c8927f53b5074 (patch) | |
tree | 281f046cabe2487c0f219334e66f99048984c382 /drivers/staging/greybus/uart.c | |
parent | greybus: don't use %h and %hh for printing short and char variables (diff) | |
download | kernel-qcow2-linux-b933fa4a40962c77254405a5274c8927f53b5074.tar.gz kernel-qcow2-linux-b933fa4a40962c77254405a5274c8927f53b5074.tar.xz kernel-qcow2-linux-b933fa4a40962c77254405a5274c8927f53b5074.zip |
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 ec978a451b17..1ba8476ce982 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; } |