From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:47236 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751731Ab0HSTjr (ORCPT ); Thu, 19 Aug 2010 15:39:47 -0400 Subject: Re: [RFC patch] include/net/cfg80211.h: wiphy_ messages use dev_printk From: Johannes Berg To: Joe Perches Cc: "John W. Linville" , linux-wireless@vger.kernel.org, netdev , LKML In-Reply-To: <1282245848.6724.261.camel@Joe-Laptop> References: <1282245848.6724.261.camel@Joe-Laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 19 Aug 2010 21:39:44 +0200 Message-ID: <1282246784.4507.14.camel@jlt3.sipsolutions.net> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: 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