lkml.org 
[lkml]   [2010]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC patch (against wireless-next)] include/net/cfg80211.h: wiphy_<level> messages use dev_printk
From
Date
On Wed, 2010-08-25 at 14:01 -0400, John W. Linville wrote:

> > "<level>dev_driver_string(&wiphy->dev) dev_name(&wiphy->dev): wiphy_name(wiphy): " fmt, ##args
> >
> > for instance:
> >
> > [ 41.261941] ieee80211 phy0: phy0: Selected rate control algorithm 'minstrel_ht'
> >
> > ie: redundant.
> > wiphy_name(wiphy) is an inline for dev_name(&wiphy->dev)
> >
> > So it's appropriate to use:
> >
> > #define wiphy_<level>(wiphy, fmt, arg...) dev_<level>(&wiphy->dev, fmt, ##arg)
> >
> > and the output becomes:
> >
> > [ 41.261941] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> >
> > Signed-off-by: Joe Perches <joe@perches.com>
>
> Everyone OK w/ this version?

I don't care much :)

johannes




\
 
 \ /
  Last update: 2010-08-25 20:29    [W:0.035 / U:2.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site