1. 03 4月, 2013 13 次提交
  2. 02 4月, 2013 21 次提交
  3. 27 3月, 2013 6 次提交
    • F
      usb: musb: ux500_dma: fix sparse warning · 6b0cfc65
      Felipe Balbi 提交于
      fix the following sparse warning:
      
      drivers/usb/musb/ux500_dma.c:60:6: warning: symbol 'ux500_dma_callback' was not declared. Should it be static?
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      6b0cfc65
    • F
      usb: gadget: mv_u3d: fix sparse warnings · 6fbb2f7d
      Felipe Balbi 提交于
      fix the following sparse warnings:
      
      drivers/usb/gadget/mv_u3d_core.c:223:20: warning: context imbalance in 'mv_u3d_done' - unexpected unlock
      drivers/usb/gadget/mv_u3d_core.c:1562:25: warning: context imbalance in 'mv_u3d_handle_setup_packet' - unexpected unlock
      
      Note that the non-trivial sparse warnings
      are left out of this commit due to lack of
      HW to test:
      
      drivers/usb/gadget/mv_u3d_core.c:906:42: warning: incorrect type in argument 2 (different address spaces)
      drivers/usb/gadget/mv_u3d_core.c:906:42:    expected void [noderef] <asn:2>*<noident>
      drivers/usb/gadget/mv_u3d_core.c:906:42:    got unsigned int *<noident>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      6fbb2f7d
    • F
      usb: gadget: mv_udc_core: fix sparse warnings · 94a06018
      Felipe Balbi 提交于
      fix the following sparse warnings:
      
      drivers/usb/gadget/mv_udc_core.c:1850:6: warning: symbol 'irq_process_reset' was not declared. Should it be static?
      drivers/usb/gadget/mv_udc_core.c:247:9: warning: context imbalance in 'done' - unexpected unlock
      drivers/usb/gadget/mv_udc_core.c:1692:25: warning: context imbalance in 'handle_setup_packet' - unexpected unlock
      
      Note that there are still other sparse warnings
      which aren't trivial to fix, so I left them out:
      
      drivers/usb/gadget/mv_udc_core.c:848:34: warning: incorrect type in argument 1 (different address spaces)
      drivers/usb/gadget/mv_udc_core.c:848:34:    expected void const volatile [noderef] <asn:2>*addr
      drivers/usb/gadget/mv_udc_core.c:848:34:    got unsigned int *<noident>
      drivers/usb/gadget/mv_udc_core.c:849:42: warning: incorrect type in argument 2 (different address spaces)
      drivers/usb/gadget/mv_udc_core.c:849:42:    expected void volatile [noderef] <asn:2>*addr
      drivers/usb/gadget/mv_udc_core.c:849:42:    got unsigned int *<noident>
      Acked-by: NNeil Zhang <zhangwm@marvell.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      94a06018
    • F
      usb: gadget: pch_udc: fix sparse warnings · 3f8b6201
      Felipe Balbi 提交于
      fix the following sparse warnings:
      
      drivers/usb/gadget/pch_udc.c:1483:9: warning: context imbalance in 'complete_req' - unexpected unlock
      drivers/usb/gadget/pch_udc.c:2408:28: warning: context imbalance in 'pch_udc_svc_control_out' - unexpected unlock
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      3f8b6201
    • F
      usb: gadget: dummy: fix sparse warning · 814cf212
      Felipe Balbi 提交于
      fix the following sparse warning:
      
      drivers/usb/gadget/dummy_hcd.c:1912:12: warning: symbol 'usb3_bos_desc' was not declared. Should it be static?
      Acked-by: NMichal Nazarewicz <mina86@mina86.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      814cf212
    • F
      usb: gadget: net2280: fix sparse warnings · ad303db6
      Felipe Balbi 提交于
      fix the following sparse warnings:
      
      drivers/usb/gadget/net2280.c:2063:13: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/net2280.c:2321:68: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/net2280.c:2349:68: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/net2280.c:2371:68: warning: Using plain integer as NULL pointer
      Acked-by: NMichal Nazarewicz <mina86@mina86.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      ad303db6