Messages in this thread Patch in this message | | | Subject | [PATCH] device: Fix dev_dbg_once macro | From | Joe Perches <> | Date | Sat, 03 Jan 2015 09:51:33 -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> --- include/linux/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/device.h b/include/linux/device.h index fb50673..7b25323 100644 --- 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 { \
| |