[PATCHv3 5/5] net: rfkill: gpio: hard-code the gpio names

Linus Walleij linus.walleij at linaro.org
Thu Apr 10 09:27:47 PDT 2014


On Tue, Apr 1, 2014 at 4:02 PM, Heikki Krogerus
<heikki.krogerus at linux.intel.com> wrote:

> There is no need to dynamically generate the names. This
> will fix a static checker warning..
>
> net/rfkill/rfkill-gpio.c:144 rfkill_gpio_probe()
>     warn: variable dereferenced before check 'rfkill->name'
>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Heikki Krogerus <heikki.krogerus at linux.intel.com>

Excellent,
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list