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

From: Greg KH
Date: Wed Apr 07 2021 - 11:14:18 EST


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