RE: [char-misc-next 3/3 V2] mei: add reference counting for me clients

From: Winkler, Tomas
Date: Sat Jan 10 2015 - 17:01:12 EST


> >
> > Signed-off-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
>
> 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