Re: [PATCH] device: Fix dev_dbg_once macro

From: Joe Perches
Date: Sat Jan 17 2015 - 19:56:55 EST


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@xxxxxxxxxxx>
> Noticed-by: Marc Finet <m.dreadlock@xxxxxxxxx>

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 { \
>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/