Skip to contentSkip to conversation

usb: gadget: fix sparse warnings

PATCH In review Lad Prabhakar 3 participants 5 messages Feb 5, 2015 – Feb 23, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 9cb86bc..50a5e63 100644
@@ -21,6 +21,7 @@
 
 #include "uvc.h"
 #include "uvc_queue.h"
+#include "uvc_video.h"
 
 /* --------------------------------------------------------------------------
  * Video codecs
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw

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?

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.c index 9cb86bc..50a5e63 100644

drivers/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
#2 lore raw
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

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
#3 lore raw

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

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
#4 lore raw
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?

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