1. 29 7月, 2013 1 次提交
  2. 15 7月, 2013 1 次提交
  3. 02 4月, 2013 1 次提交
    • K
      usb: renesas_usbhs: fixup sparse errors for common.c · 225da3e3
      Kuninori Morimoto 提交于
      This patch fixup below sparse errors
      
      CHECK   ${RENESAS_USB}/common.c
      ${RENESAS_USB}/common.c:313:17: error: incompatible types in conditional expression (different base types)
      ${RENESAS_USB}/common.c:322:17: error: incompatible types in conditional expression (different base types)
      ${RENESAS_USB}/common.c:384:17: error: incompatible types in conditional expression (different base types)
      ${RENESAS_USB}/common.c:524:9: error: incompatible types in conditional expression (different base types)
      ${RENESAS_USB}/common.c:545:9: error: incompatible types in conditional expression (different base types)
      ${RENESAS_USB}/common.c:574:9: error: incompatible types in conditional expression (different base types)
      ${RENESAS_USB}/common.c:606:9: error: incompatible types in conditional expression (different base types)
      ${RENESAS_USB}/mod_gadget.c:233:28: warning: symbol 'req_clear_feature' was not declared. Should it be static?
      ${RENESAS_USB}/mod_gadget.c:274:28: warning: symbol 'req_set_feature' was not declared. Should it be static?
      ${RENESAS_USB}/mod_gadget.c:375:28: warning: symbol 'req_get_status' was not declared. Should it be static?
      
      [ balbi@ti.com : added three sparse fixes to mod_gadget.c ]
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      225da3e3
  4. 18 3月, 2013 4 次提交
  5. 25 1月, 2013 1 次提交
  6. 13 12月, 2012 2 次提交
  7. 16 10月, 2012 1 次提交
  8. 04 5月, 2012 1 次提交
  9. 28 2月, 2012 1 次提交
  10. 24 2月, 2012 1 次提交
    • K
      usb: renesas_usbhs: bugfix: add .release function to gpriv->gadget.dev · 3b2a2e47
      Kuninori Morimoto 提交于
      This patch fixup below warning on device_unregister()
      
      renesas_usbhs renesas_usbhs.1: host probed
      renesas_usbhs renesas_usbhs.1: gadget probed
      renesas_usbhs renesas_usbhs.1: irq request err
      ------------[ cut here ]------------
      WARNING: at ${LINUX}/drivers/base/core.c:1)
      Device 'gadget' does not have a release() function, it is broken and must be fi.
      Modules linked in:
      [<c000e25c>] (unwind_backtrace+0x0/0xe4) from [<c0016960>] (warn_slowpath_commo)
      [<c0016960>] (warn_slowpath_common+0x4c/0x64) from [<c00169f8>] (warn_slowpath_)
      [<c00169f8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0185b80>] (device_release+0x)
      [<c0185b80>] (device_release+0x70/0x84) from [<c013e300>] (kobject_cleanup+0x58)
      [<c013e300>] (kobject_cleanup+0x58/0x6c) from [<c01cba14>] (usbhs_mod_gadget_re)
      [<c01cba14>] (usbhs_mod_gadget_remove+0x3c/0x6c) from [<c01c8384>] (usbhs_mod_p)
      [<c01c8384>] (usbhs_mod_probe+0x68/0x80) from [<c01c7f84>] (usbhs_probe+0x1cc/0)
      ...
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      3b2a2e47
  11. 24 1月, 2012 1 次提交
    • J
      usb: renesas: silence uninitialized variable report in usbhsg_recip_run_handle() · 7983bc74
      Jesper Juhl 提交于
      In drivers/usb/renesas_usbhs/mod_gadget.c::usbhsg_recip_run_handle()
      the Coverity Prevent checker currently flags a warning about possibly
      uninitialized use of 'ret' i usbhsg_recip_run_handle(). It does this
      since it assumes we take one of the non-default branches in the switch
      and then subsequently take the false branch in the 'if (func)' case
      below. This exact scenario will never happen, but Coverity can't see
      that for some reason. This patch initializes 'ret' to '0' when it is
      declared which should shut up this report and won't really hurt - so
      why not? At least then it's clear that 'ret' is always initialized..
      Signed-off-by: NJesper Juhl <jj@chaosbits.net>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      7983bc74
  12. 15 12月, 2011 1 次提交
  13. 13 12月, 2011 1 次提交
  14. 12 12月, 2011 11 次提交
  15. 29 11月, 2011 4 次提交
  16. 15 11月, 2011 1 次提交
    • K
      usb: gadget: renesas_usbhs: fixup section mismatch warning · b7a8d17d
      Kuninori Morimoto 提交于
      Fix up the following section mismatch warnings:
      
      WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0xf5d): Section
      mismatch in reference from the function usbhs_mod_probe() to the function
      .devinit.text:usbhs_mod_host_probe() The function usbhs_mod_probe() references
      the function __devinit usbhs_mod_host_probe().  This is often because
      usbhs_mod_probe lacks a __devinit annotation or the annotation of
      usbhs_mod_host_probe is wrong.
      
      WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0xfd7): Section
      mismatch in reference from the function usbhs_mod_probe() to the function
      .devexit.text:usbhs_mod_host_remove() The function usbhs_mod_probe() references
      a function in an exit section.  Often the function usbhs_mod_host_remove() has
      valid usage outside the exit section and the fix is to remove the __devexit
      annotation of usbhs_mod_host_remove.
      
      WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0x1005): Section
      mismatch in reference from the function usbhs_mod_remove() to the function
      .devexit.text:usbhs_mod_host_remove() The function usbhs_mod_remove()
      references a function in an exit section.  Often the function
      usbhs_mod_host_remove() has valid usage outside the exit section and the fix is
      to remove the __devexit annotation of usbhs_mod_host_remove.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b7a8d17d
  17. 14 10月, 2011 7 次提交