RE: [PATCH 7/7] Fix uninitialised variable warning inmei-amt-version.c

From: Winkler, Tomas
Date: Sat Jan 04 2014 - 16:24:34 EST




> -----Original Message-----
> From: David Howells [mailto:dhowells@xxxxxxxxxx]
> Sent: Friday, January 03, 2014 18:34
> To: Paul Bolle
> Cc: dhowells@xxxxxxxxxx; akpm@xxxxxxxxxxxxxxxxxxxx; Greg Kroah-Hartman;
> Winkler, Tomas; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH 7/7] Fix uninitialised variable warning in mei-amt-version.c
>
> Paul Bolle <pebolle@xxxxxxxxxx> wrote:
>
> > But it turns out that call of mei_deinit() isn't needed at all. All of
> > the members of mei_cl will be set later in mei_init() and none will be
> > used before they are set. So we can simply drop this call of
> > mei_deinit()."
> >
> > Is that analysis (still) correct?
>
> It looks true as the code stands. Can you send me your patch?

Yes, the analysis is correct, need to fix the typo in the title and but otherwise ACK.

Thanks
Tomas



--
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/