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

2013-11-25 Thread Greg Kroah-Hartman
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 > --- > drivers/staging/media/go7007/go7007-usb.c | 8 > 1 file changed

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

2013-11-11 Thread Dan Carpenter
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 Looks good. Thanks. :) regards, dan carpenter -- To unsubscribe from this li

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

2013-11-11 Thread Michal Nazarewicz
go variable is initialised only after the switch case so it cannot be dereferenced prior to that happening. Signed-off-by: Michal Nazarewicz --- drivers/staging/media/go7007/go7007-usb.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) On Sun, Nov 10 2013, Dan Carpenter wrote: > Th