Re: [PATCHv2] staging: go7007: fix use of uninitialised pointer

From: Greg Kroah-Hartman
Date: Mon Nov 25 2013 - 12:25:14 EST


On Mon, Nov 11, 2013 at 12:46:24PM +0100, Michal Nazarewicz wrote:
> go variable is initialised only after the switch case so it cannot be
> dereferenced prior to that happening.
>
> Signed-off-by: Michal Nazarewicz <mina86@xxxxxxxxxx>
> ---
> drivers/staging/media/go7007/go7007-usb.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> On Sun, Nov 10 2013, Dan Carpenter wrote:
> > There are 3 other uses before "go" gets initialized.
>
> Argh... Other occurrences of the letters âGOâ deceived my eyes. Sorry
> about that and thanks.

This is no longer needed, as I revertd the patch that caused the
original problems, sorry.

greg k-h
--
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/