projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b8678
)
mfd: rtsx_usb: Fix decimal printf format specifiers prefixed with 0x
author
Hans Wennborg
<hans@hanshq.net>
Wed, 6 Aug 2014 04:42:28 +0000
(21:42 -0700)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 26 Sep 2014 07:15:38 +0000
(08:15 +0100)
The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.
Found by using regex suggested by Joe Perches.
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rtsx_usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/rtsx_usb.c
b/drivers/mfd/rtsx_usb.c
index 71f387ce8cbd7ec6c8f269f9bb99135c19408306..9cf98d142d9acff26ba0ada4b3f3e2107a8218e8 100644
(file)
--- a/
drivers/mfd/rtsx_usb.c
+++ b/
drivers/mfd/rtsx_usb.c
@@
-684,7
+684,7
@@
static int rtsx_usb_suspend(struct usb_interface *intf, pm_message_t message)
struct rtsx_ucr *ucr =
(struct rtsx_ucr *)usb_get_intfdata(intf);
- dev_dbg(&intf->dev, "%s called with pm message 0x%04
u
\n",
+ dev_dbg(&intf->dev, "%s called with pm message 0x%04
x
\n",
__func__, message.event);
/*