[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1279726393.2452.60.camel@edumazet-laptop>
Date: Wed, 21 Jul 2010 17:33:13 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Lennert Buytenhek <buytenh@...tstofly.org>
Cc: Mike Frysinger <vapier@...too.org>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
uclinux-dist-devel@...ckfin.uclinux.org,
Karl Beldan <karl.beldan@...il.com>,
Graf Yang <graf.yang@...log.com>,
Bryan Wu <cooloney@...nel.org>
Subject: Re: [PATCH 2/2] net: dsa: introduce MICREL KSZ8893MQL/BL ethernet
switch chip support
Le mercredi 21 juillet 2010 à 17:16 +0200, Lennert Buytenhek a écrit :
> > +#define pr_fmt(fmt) "ksz8893m: " fmt
>
> This has no users.
>
Dont tell this to Joe Perches ;)
It is used by all pr_err() friends
#define pr_emerg(fmt, ...) \
printk(KERN_EMERG pr_fmt(fmt), ##__VA_ARGS__)
#define pr_alert(fmt, ...) \
printk(KERN_ALERT pr_fmt(fmt), ##__VA_ARGS__)
#define pr_crit(fmt, ...) \
printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__)
#define pr_err(fmt, ...) \
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
#define pr_warning(fmt, ...) \
printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
#define pr_warn pr_warning
#define pr_notice(fmt, ...) \
printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
#define pr_info(fmt, ...) \
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
#define pr_cont(fmt, ...) \
printk(KERN_CONT fmt, ##__VA_ARGS__)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists