lkml.org 
[lkml]   [2015]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [char-misc-next 3/3 V2] mei: add reference counting for me clients
Date
> >
> > Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
>
> This patch adds build warnings, I can't take it:
>
> drivers/misc/mei/bus.c: In function ‘___mei_cl_send’:
> drivers/misc/mei/bus.c:276:3: warning: ‘cb’ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> mei_io_cb_free(cb);
> ^
> drivers/misc/mei/bus.c:273:2: warning: ‘me_cl’ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> mei_me_cl_put(me_cl);
> ^

CONFIG_CC_OPTIMIZE_FOR_SIZE is pushing -Wno-maybe-uninitialized so this didn't pop up.
Resending

Thanks
Tomas

\
 
 \ /
  Last update: 2015-01-10 23:21    [W:0.162 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site