* [PATCH] device: Fix dev_dbg_once macro [not found] <20150103110934.428f49af@mlap.lactee> @ 2015-01-03 17:51 ` Joe Perches 2015-01-18 0:56 ` Joe Perches 0 siblings, 1 reply; 2+ messages in thread From: Joe Perches @ 2015-01-03 17:51 UTC (permalink / raw) To: Greg KH; +Cc: Marc Finet, LKML 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 { \ ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] device: Fix dev_dbg_once macro 2015-01-03 17:51 ` [PATCH] device: Fix dev_dbg_once macro Joe Perches @ 2015-01-18 0:56 ` Joe Perches 0 siblings, 0 replies; 2+ messages in thread From: Joe Perches @ 2015-01-18 0:56 UTC (permalink / raw) To: Greg KH; +Cc: Marc Finet, LKML On Sat, 2015-01-03 at 09:51 -0800, Joe Perches wrote: > 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> Ping? > --- > 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 { \ > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-18 0:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20150103110934.428f49af@mlap.lactee>
2015-01-03 17:51 ` [PATCH] device: Fix dev_dbg_once macro Joe Perches
2015-01-18 0:56 ` Joe Perches
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox