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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 31, 2022 at 10:27:43AM -0400, Sevinj Aghayeva wrote:
> 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.
> 

No problem, I will handle this one for you.

regards,
dan carpenter





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux