summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/uart.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-12-04 21:30:10 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-12-04 16:23:36 -0800
commitb933fa4a40962c77254405a5274c8927f53b5074 (patch)
tree281f046cabe2487c0f219334e66f99048984c382 /drivers/staging/greybus/uart.c
parent2f3db927cdf7627aa5359ff46c80ab72f7971980 (diff)
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.c2
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;
}