Re: [PATCH 4/7] staging: rtl8723bs: replace DBG_871X_SEL_NL with netdev_dbg()

From: Greg KH
Date: Wed Apr 14 2021 - 06:28:18 EST


On Wed, Apr 14, 2021 at 11:43:41AM +0200, Fabio Aiuto wrote:
> On Wed, Apr 14, 2021 at 10:26:01AM +0200, Greg KH wrote:
> > > - DBG_871X_SEL_NL(sel, "%10s %16s %8s %10s %11s %14s\n",
> > > - "TH_L2H_ini", "TH_EDCCA_HL_diff", "IGI_Base",
> > > - "ForceEDCCA", "AdapEn_RSSI", "IGI_LowerBound");
> > > - DBG_871X_SEL_NL(sel, "0x%-8x %-16d 0x%-6x %-10d %-11u %-14u\n",
> > > - (u8)odm->TH_L2H_ini,
> > > - odm->TH_EDCCA_HL_diff,
> > > - odm->IGI_Base,
> > > - odm->ForceEDCCA,
> > > - odm->AdapEn_RSSI,
> > > - odm->IGI_LowerBound
> > > - );
> > > + netdev_dbg(adapter->pnetdev, "%10s %16s %8s %10s %11s %14s\n",
> > > + "TH_L2H_ini", "TH_EDCCA_HL_diff", "IGI_Base", "ForceEDCCA",
> > > + "AdapEn_RSSI", "IGI_LowerBound");netdev_dbg(adapter->pnetdev,
> > > + "0x%-8x %-16d 0x%-6x %-10d %-11u %-14u\n",
> > > + (u8)odm->TH_L2H_ini,
> > > + odm->TH_EDCCA_HL_diff,
> > > + odm->IGI_Base,
> > > + odm->ForceEDCCA,
> > > + odm->AdapEn_RSSI,
> > > + odm->IGI_LowerBound);
> >
> > Something went wrong with this change :(
>
> thanks Greg, I sent an example to Julia, that reproduce the problem.
> As soon as it gets fixed I will send you a v2.

You can fix it up yourself "by hand" for now, no need to wait for a tool
fix :)