projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bc420
)
device: Fix dev_dbg_once macro
author
Joe Perches
<joe@perches.com>
Sat, 3 Jan 2015 17:51:33 +0000
(09:51 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 26 Jan 2015 23:57:59 +0000
(15:57 -0800)
There is a copy/paste typo in the dev_dbg_once macro.
It uses dev_info instead of dev_dbg, so use the correct
function instead.
Signed-off-by: Joe Perches <joe@perches.com>
Noticed-by: Marc Finet <m.dreadlock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/device.h
b/include/linux/device.h
index fb506738f7b74134aa84699fd960ebff251f044b..7b2532361398b010b64193546972230c6c7a1cc8 100644
(file)
--- a/
include/linux/device.h
+++ b/
include/linux/device.h
@@
-1156,7
+1156,7
@@
do { \
#define dev_info_once(dev, fmt, ...) \
dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__)
#define dev_dbg_once(dev, fmt, ...) \
- dev_level_once(dev_
info
, dev, fmt, ##__VA_ARGS__)
+ dev_level_once(dev_
dbg
, dev, fmt, ##__VA_ARGS__)
#define dev_level_ratelimited(dev_level, dev, fmt, ...) \
do { \