Re: [PATCH] gpio: rc5t583: Remove redundant check

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

 



Понедельник, 24 февраля 2014, 14:52 +01:00 от Linus Walleij <linus.walleij@xxxxxxxxxx>:
> On Sat, Feb 15, 2014 at 2:24 PM, Alexander Shiyan <shc_work@xxxxxxx> wrote:
> 
> > Variable "offset" cannot be negative, so no need to check if it
> > greater than zero or equal.
> >
> > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx>
> 
> Patch applied.
> 
> Nice patches by the way, are you finding these by using some
> static code checking tool?

Yes, it is found using cppcheck tool.

---
��.n��������+%������w��{.n�����{��
b���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux