lkml.org 
[lkml]   [2016]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/2] tools/gpio: Add missing initialization of device_name
From
On Fri, Mar 25, 2016 at 1:36 PM, Geert Uytterhoeven
<geert+renesas@glider.be> 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@glider.be>

Patch applied.

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2016-03-31 12:01    [W:0.037 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site