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

From: Dan Carpenter
Date: Mon Nov 11 2013 - 08:07:03 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>

Looks good. Thanks. :)

regards,
dan carpenter

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