Re: [PATCH 07/19] drivers: rtl8723bs: rewrite comparison to null

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

 



On Wed, Apr 07, 2021 at 05:30:34PM +0200, Greg KH wrote:
> On Wed, Apr 07, 2021 at 05:25:34PM +0200, Fabio Aiuto wrote:
> > On Wed, Apr 07, 2021 at 05:14:00PM +0200, Greg KH wrote:
> > > On Wed, Apr 07, 2021 at 03:49:31PM +0200, Fabio Aiuto wrote:
> > > > fix following post-commit hook checkpatch warnings:
> > > > 
> > > > CHECK: Comparison to NULL could be written "!psta"
> > > > 97: FILE: drivers/staging/rtl8723bs/core/rtw_ap.c:2115:
> > > > +		if (psta == NULL)
> > > > 
> > > > Signed-off-by: Fabio Aiuto <fabioaiuto83@xxxxxxxxx>
> > > > ---
> > > >  drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > Nit, your subject line has "drivers:" not "staging:" here.  Be a bit
> > > more careful next time please.
> > > 
> > > thanks,
> > > 
> > > greg k-h
> > 
> > sorry, you can drop them off the staging-testing branch and I will resend you all if you want,
> 
> Nah, it's not worth it, I'll keep them for now :)

:-D




[Index of Archives]     [Linux Driver Development]     [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