Re: [RFC patch] include/net/cfg80211.h: wiphy_<level> messages usedev_printk

From: Johannes Berg
Date: Thu Aug 19 2010 - 15:39:55 EST


On Thu, 2010-08-19 at 12:24 -0700, Joe Perches wrote:
> Adding device to the wiphy logging messages could be useful.
>
> #define wiphy_printk(level, wiphy, format, args...) \
> - printk(level "%s: " format, wiphy_name(wiphy), ##args)
> + dev_printk(level, &wiphy->dev, "%s: " format, wiphy_name(wiphy), ##args)

what will that actually print?

johannes

--
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/