Hi,

This series fix a reference count for fail case, adds a error handling with
ENOMEM and also remove EXPORT_SYMBOL_GLP for kref_{put, get}.

Thanks,
jaejoong

Jaejoong Kim (3):
  usb: gadget: storage: Fix reference count if fsg_alloc_inst() failed
  usb: gadget: storage: Add error handling for no memory
  usb: gadget: storage: Remove EXPORT_SYMBOL_GPL for kref_{put, get}

 drivers/usb/gadget/function/f_mass_storage.c | 11 ++++++-----
 drivers/usb/gadget/function/f_mass_storage.h |  4 ----
 2 files changed, 6 insertions(+), 9 deletions(-)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to