Re: [PATCH v2] staging: rtl8723bs: place constants on the right side of tests

From: Sevinj Aghayeva
Date: Thu Mar 31 2022 - 10:28:00 EST


On Thu, Mar 31, 2022 at 10:15 AM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
>
> 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.

Got it, thanks! Will do so in the future.

>
> regards,
> dan carpenter
>



--

Sevinj.Aghayeva