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

From: Greg KH
Date: Wed Apr 07 2021 - 11:30:50 EST


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 :)