[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYxnmOkkWksWE+-eGa-J3hNNqU=GHC7xA4mhEyyye4Htg@mail.gmail.com>
Date: Thu, 25 Feb 2016 11:00:29 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Andrzej Hajda <a.hajda@...sung.com>
Cc: Alexandre Courbot <gnurou@...il.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpio: xgene: fix type of variable containing error codes
On Tue, Feb 23, 2016 at 7:45 AM, Andrzej Hajda <a.hajda@...sung.com> wrote:
> ret variable can contain error values and is compared with zero.
> Its type must be signed.
>
> The problem has been detected using coccinelle script
> scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci
>
> Signed-off-by: Andrzej Hajda <a.hajda@...sung.com>
Patch applied as obviously correct.
Yours,
Linus Walleij
Powered by blists - more mailing lists