[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1421542606.29879.3.camel@perches.com>
Date: Sat, 17 Jan 2015 16:56:46 -0800
From: Joe Perches <joe@...ches.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Marc Finet <m.dreadlock@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] device: Fix dev_dbg_once macro
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@...ches.com>
> Noticed-by: Marc Finet <m.dreadlock@...il.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 { \
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists