Re: [PATCH 2/2] tools/gpio: Add missing initialization of device_name

From: Linus Walleij
Date: Thu Mar 31 2016 - 05:52:04 EST


On Fri, Mar 25, 2016 at 1:36 PM, Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:

> lsgpio.c: In function âmainâ:
> lsgpio.c:166:7: warning: âdevice_nameâ may be used uninitialized in this functio
> n [-Wmaybe-uninitialized]
> ret = list_device(device_name);
> ^
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij