1. 23 Apr, 2013 8 commits
  2. 03 Apr, 2013 30 commits
  3. 02 Apr, 2013 2 commits
    • Felipe Balbi's avatar
      usb: gadget: pxa27x_udc: fix Section Mismatches · 50757b24
      Felipe Balbi authored
      Remove all section annotations to fix the
      following section mismatches:
      
      >> WARNING: drivers/usb/gadget/pxa27x_udc.o(.text+0x597c): Section mismatch in
      reference from the function .pxa_udc_probe() to the function
      .init.text:.udc_init_data.constprop.11()
         The function .pxa_udc_probe() references
         the function __init .udc_init_data.constprop.11().
         This is often because .pxa_udc_probe lacks a __init
         annotation or the annotation of .udc_init_data.constprop.11 is wrong.
      --
      >> WARNING: drivers/usb/gadget/pxa27x_udc.o(.text+0x5a04): Section mismatch in
      reference from the function .pxa_udc_probe() to the function
      .init.text:.pxa_ep_setup()
         The function .pxa_udc_probe() references
         the function __init .pxa_ep_setup().
         This is often because .pxa_udc_probe lacks a __init
         annotation or the annotation of .pxa_ep_setup is wrong.
      Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      50757b24
    • Felipe Balbi's avatar
      usb: gadget: udc-core: prevent a memory leak · c5dbc220
      Felipe Balbi authored
      udc-core would leak 'udc' memory in some error
      cases. Fix it by kfree()ing udc on error path.
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      c5dbc220