[PATCH] pinctrl: sirf: fix typo for GPIO bank number

Linus Walleij linus.walleij at linaro.org
Tue May 27 06:25:43 PDT 2014


On Sun, May 25, 2014 at 10:54 AM, Barry Song <21cnbao at gmail.com> wrote:

> From: Barry Song <Baohua.Song at csr.com>
>
> The patch 7420d2d09b12: "pinctrl: sirf: switch driver to use gpiolib
> irqchip helpers" from Apr 15, 2014, leads to the following static
> checker warning:
>
>       drivers/pinctrl/sirf/pinctrl-sirf.c:578 sirfsoc_gpio_handle_irq()
>       warn: buffer overflow 'sgpio_chip.sgpio_bank' 5 <= 31
>
> Cc: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list