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

From: Greg KH
Date: Fri Jan 09 2015 - 17:51:58 EST


On Thu, Nov 27, 2014 at 02:07:29PM +0200, Tomas Winkler wrote:
> To support dynamic addition and removal of
> me clients we add reference counter.
>
> Update kdoc with locking requirements.
>
> 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);
^

Please be more careful.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/