lkml.org 
[lkml]   [2013]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()
On Wed, Nov 27, 2013 at 11:48:08AM +0800, Chen Gang wrote:
> dev_*() assumes 'go' is already initialized, so need use pr_*() instead
> of before 'go' initialized. Related warning (with allmodconfig under
> hexagon):
>
> CC [M] drivers/staging/media/go7007/go7007-usb.o
> drivers/staging/media/go7007/go7007-usb.c: In function 'go7007_usb_probe':
> drivers/staging/media/go7007/go7007-usb.c:1060:2: warning: 'go' may be used uninitialized in this function [-Wuninitialized]
>
> Also remove useless code after 'return' statement.

This should all be fixed in my staging-linus branch already, right? No
need for this anymore from what I can tell, sorry.

greg k-h


\
 
 \ /
  Last update: 2013-11-27 05:21    [W:0.161 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site