Messages in this thread | | | Date | Thu, 25 Feb 2016 11:00:29 +0100 | Subject | Re: [PATCH 1/2] gpio: xgene: fix type of variable containing error codes | From | Linus Walleij <> |
| |
On Tue, Feb 23, 2016 at 7:45 AM, Andrzej Hajda <a.hajda@samsung.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@samsung.com>
Patch applied as obviously correct.
Yours, Linus Walleij
| |