On Sat, 2021-04-03 at 11:13 +0200, Fabio Aiuto wrote: > fix post-commit checkpatch issue: > > CHECK: Using comparison to false is error prone > 27: FILE: drivers/staging/rtl8723bs/core/rtw_recv.c:381: > + if (psecuritypriv-> > bcheck_grpkey == false && > > Signed-off-by: Fabio Aiuto <fabioaiut...@gmail.com> > --- > drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c > b/drivers/staging/rtl8723bs/core/rtw_recv.c > index cd4324a93275..21949925ec77 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_recv.c > +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c > @@ -378,7 +378,7 @@ static signed int recvframe_chkmic(struct adapter > *adapter, union recv_frame *p > > > } else { > /* mic checked ok */ > - if (psecuritypriv->bcheck_grpkey == false && > + if (!psecuritypriv->bcheck_grpkey && > (IS_MCAST(prxattrib->ra) == true)) > psecuritypriv->bcheck_grpkey = true; > }
- [PATCH v3 17/30] staging: rtl8723bs: remove RT_TRACE logs in... Fabio Aiuto
- [PATCH v3 18/30] staging: rtl8723bs: remove commented RT_TRA... Fabio Aiuto
- [PATCH v3 19/30] staging: rtl8723bs: remove RT_TRACE logs in... Fabio Aiuto
- [PATCH v3 20/30] staging: rtl8723bs: added spaces around ope... Fabio Aiuto
- [PATCH v3 21/30] staging: rtl8723bs: split long line in core... Fabio Aiuto
- [PATCH v3 22/30] staging: rtl8723bs: remove unnecessary pare... Fabio Aiuto
- [PATCH v3 23/30] staging: rtl8723bs: fix comparison in if co... Fabio Aiuto
- Re: [PATCH v3 23/30] staging: rtl8723bs: fix comparison... Joe Perches
- [PATCH v3 24/30] staging: rtl8723bs: remove commented RT_TRA... Fabio Aiuto
- [PATCH v3 25/30] staging: rtl8723bs: remove RT_TRACE logs in... Fabio Aiuto
- [PATCH v3 27/30] staging: rtl8723bs: remove all RT_TRACE log... Fabio Aiuto
- [PATCH v3 26/30] staging: rtl8723bs: place constant on the r... Fabio Aiuto
- [PATCH v3 28/30] staging: rtl8723bs: remove RT_TRACE logs in... Fabio Aiuto
- [PATCH v3 29/30] staging: rtl8723bs: remove RT_TRACE logs in... Fabio Aiuto
- [PATCH v3 30/30] staging: rtl8723bs: add spaces around opera... Fabio Aiuto
- Re: [PATCH v3 00/30] staging: rtl8723bs: remove RT_TRACE log... Joe Perches