Re: [PATCH] staging/rtl8192u/ieee80211: use __func__ macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2020-10-20 at 17:19 +0200, Greg KH wrote:
> On Tue, Oct 20, 2020 at 08:08:23AM -0700, Elena Afanasova wrote:
> > Replace function names with __func__ macro.
> > Remove unnecessary characters in error messages.
> > Reported by checkpatch.pl.
> > 
> > Signed-off-by: Elena Afanasova <eafanasova@xxxxxxxxx>
> > ---
> >  drivers/staging/rtl8192u/ieee80211/dot11d.c | 12 ++++++------
> >  1 file changed, 6 insertions(+), 6 deletions(-)
> > 
> > diff --git a/drivers/staging/rtl8192u/ieee80211/dot11d.c
> > b/drivers/staging/rtl8192u/ieee80211/dot11d.c
> > index bc642076b96f..f972edcde8a0 100644
> > --- a/drivers/staging/rtl8192u/ieee80211/dot11d.c
> > +++ b/drivers/staging/rtl8192u/ieee80211/dot11d.c
> > @@ -15,7 +15,7 @@ void rtl8192u_dot11d_init(struct ieee80211_device
> > *ieee)
> >  	memset(dot11d_info->max_tx_pwr_dbm_list, 0xFF,
> > MAX_CHANNEL_NUMBER + 1);
> >  	RESET_CIE_WATCHDOG(ieee);
> >  
> > -	netdev_info(ieee->dev, "rtl8192u_dot11d_init()\n");
> > +	netdev_info(ieee->dev, "%s\n", __func__);
> 
> This is a pure debugging line, and should just be removed.  Can you
> do
> that as an add-on patch to this?

ok
> 
> thanks,
> 
> greg k-h

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux