Понедельник, 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