usb: gadget: fix sparse warnings
Subsystems (2)
PATCH 1/1 usb: gadget: fix sparse warnings
From: "Lad, Prabhakar" <[email protected]>
this patch fixes following sparse warnings:
uvc_video.c:283:5: warning: symbol 'uvcg_video_pump' was not declared. Should it be static? uvc_video.c:342:5: warning: symbol 'uvcg_video_enable' was not declared. Should it be static? uvc_video.c:381:5: warning: symbol 'uvcg_video_init' was not declared. Should it be static?
--- drivers/usb/gadget/function/uvc_video.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/gadget/function/uvc_video.c +1 -0
@@ -21,6 +21,7 @@#include "uvc.h" #include "uvc_queue.h" +#include "uvc_video.h" /* -------------------------------------------------------------------------- * Video codecs
Signature · 1 line
1.9.1
Hi Prabhakar,
Thank you for the patch.
Quoted 10 lines · On Thursday 05 February 2015 13:02:18 Lad Prabhakar wrote:
From: "Lad, Prabhakar" <[email protected]>
this patch fixes following sparse warnings:
uvc_video.c:283:5: warning: symbol '
uvcg_video_pump' was not declared. Should it be static? uvc_video.c:342:5: warning: symbol 'uvcg_video_enable' was not declared. Should it be static? uvc_video.c:381:5: warning: symbol 'uvcg_video_init' was not declared. Should it be static?Signed-off-by Lad, Prabhakar <[email protected]>
Felipe, could you please take this in your tree ?
Quoted 17 lines
--- drivers/usb/gadget/function/uvc_video.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/usb/gadget/function/uvc_video.cindex 9cb86bc..50a5e63 100644drivers/usb/gadget/function/uvc_video.c +1
-1@@ -21,6 +21,7 @@#include "uvc.h" #include "uvc_queue.h" +#include "uvc_video.h" /* -------------------------------------------------------------------------- * Video codecs
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 14 lines · Laurent Pinchart
Hi Prabhakar,
Thank you for the patch.
Quoted 9 lines · On Thursday 05 February 2015 13:02:18 Lad Prabhakar wrote:
From: "Lad, Prabhakar" <[email protected]>
this patch fixes following sparse warnings:
uvc_video.c:283:5: warning: symbol '
uvcg_video_pump' was not declared. Should it be static? uvc_video.c:342:5: warning: symbol 'uvcg_video_enable' was not declared. Should it be static? uvc_video.c:381:5: warning: symbol 'uvcg_video_init' was not declared. Should it be static?
Quoted 5 lines
Quoted 1 line
Signed-off-by Lad, Prabhakar <[email protected]>Acked-by Laurent Pinchart <[email protected]>Felipe, could you please take this in your tree ?
my tree is closed for v3.20. I'll pick it up once -rc1 is out
Signature · 1 line
balbi
Hi Felipe,
Quoted 17 lines · On Thursday 05 February 2015 12:08:09 Felipe Balbi wrote:
Quoted 16 lines · Laurent Pinchart
Hi Prabhakar,
Thank you for the patch.
Quoted 11 lines · On Thursday 05 February 2015 13:02:18 Lad Prabhakar wrote:
From: "Lad, Prabhakar" <[email protected]>
this patch fixes following sparse warnings:
uvc_video.c:283:5: warning: symbol '
uvcg_video_pump' was not declared. Should it be static? uvc_video.c:342:5: warning: symbol 'uvcg_video_enable'
was not declared. Should it be static? uvc_video.c:381:5: warning:
symbol
'uvcg_video_init' was not declared. Should it be static?
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Lad, Prabhakar <[email protected]>Acked-by Laurent Pinchart <[email protected]>Felipe, could you please take this in your tree ?
my tree is closed for v3.20. I'll pick it up once -rc1 is out
That's good, I was targeting v3.21 too. How do you usually ensure that patches don't get lost, do you apply them to a n+1 branch straight away (which is what I was asking in my previous mail), rely on patchwork or some similar tool, or expect developers to ping you again when -rc1 is out ?
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 24 lines · Laurent Pinchart
Hi Felipe,
Quoted 21 lines · On Thursday 05 February 2015 12:08:09 Felipe Balbi wrote:
Quoted 20 lines · Laurent Pinchart
Hi Prabhakar,
Thank you for the patch.
Quoted 4 lines · On Thursday 05 February 2015 13:02:18 Lad Prabhakar wrote:
From: "Lad, Prabhakar" <[email protected]>
this patch fixes following sparse warnings:
Quoted 8 lines
uvc_video.c:283:5: warning: symbol '
uvcg_video_pump' was not declared. Should it be static? uvc_video.c:342:5: warning: symbol 'uvcg_video_enable'
was not declared. Should it be static? uvc_video.c:381:5: warning:
symbol
'uvcg_video_init' was not declared. Should it be static?Signed-off-by Lad, Prabhakar <[email protected]>Acked-by Laurent Pinchart <[email protected]>
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Felipe, could you please take this in your tree ?
my tree is closed for v3.20. I'll pick it up once -rc1 is out
That's good, I was targeting v3.21 too. How do you usually ensure that patches don't get lost, do you apply them to a n+1 branch straight away (which is what I was asking in my previous mail), rely on patchwork or some similar tool, or expect developers to ping you again when -rc1 is out ?
I leave the email unread in another maildir
Signature · 1 line
balbi