Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1343071
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] gpio: xgene: fix type of variable containing error codes |
| Date | 2016-02-25 11:10 +0100 |
| Message-ID | <r611X-2fv-45@gated-at.bofh.it> (permalink) |
| References | <r5eXf-1sV-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] gpio: xgene: fix type of variable containing error codes Andrzej Hajda <a.hajda@samsung.com> - 2016-02-23 07:50 +0100 Re: [PATCH 1/2] gpio: xgene: fix type of variable containing error codes Linus Walleij <linus.walleij@linaro.org> - 2016-02-25 11:10 +0100
csiph-web