Re: [PATCH v2] staging: rtl8723bs: place constants on the right side of tests
From: Dan Carpenter
Date: Thu Mar 31 2022 - 10:15:35 EST
On Thu, Mar 31, 2022 at 08:26:18AM -0400, Sevinj Aghayeva wrote:
> Adhere to Linux kernel coding style.
>
> Reported by checkpatch:
>
> WARNING: Comparisons should place the constant on the right side of the test
>
> Signed-off-by: Sevinj Aghayeva <sevinj.aghayeva@xxxxxxxxx>
> ---
>
> v1 -> v2: Missed one case of constant being placed on the left. Now
> checkpath reports no such warnings for this file.
You need to send a reply to the original email "Hi, please ignore this
one, I spotted another line I want to clean up" so that Greg does not
apply it first before reading this one.
regards,
dan carpenter