Re: [PATCH] staging: rtl8723bs: replace comparison to false with logical NOT

From: Dan Carpenter

Date: Mon Mar 09 2026 - 07:09:52 EST


On Mon, Mar 09, 2026 at 10:48:23AM +0000, dipesh chaudhary wrote:
>
> Fix checkpatch warning "Using comparison to false is error prone". Replace "== false" with the logical NOT operator "!" to align with the standard Linux kernel coding style and improve readability.
>
> Signed-off-by: dipesh chaudhary <me@xxxxxxxxxxxxxxxxxx>
> ---

Probably you should capitalize your name. It's supposed to be formal
like signeing a legal document.

Run your patch through checkpatch.

Someone already did this change. Work against the staging-next tree.

regards,
dan carpenter