From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH master 0/6] usb: gadget: multi: fix bind error path
Date: Mon, 28 Mar 2022 10:53:08 +0200 [thread overview]
Message-ID: <20220328085308.GJ12181@pengutronix.de> (raw)
In-Reply-To: <20220319110246.2850396-1-a.fatoum@pengutronix.de>
On Sat, Mar 19, 2022 at 12:02:40PM +0100, Ahmad Fatoum wrote:
> USB mass storage gadget may fail during bind. USB multi gadget error
> path for failed bind is broken. USB mass storage gadget unbind leaks
> resources. Fix these three issues.
>
> Ahmad Fatoum (6):
> usb: gadget: implement and use system_partitions_get_null
> usb: gadget: don't register UMS with empty function
> usb: gadget: mass-storage: fix clean up of file descriptors
> usb: gadget: mass-storage: reference count allocations used in bthread
> usb: gadget: multi: fix broken handling of USB function bind error
> usb: gadget: multi: free UMS instance at multi_unbind time
Applied, thanks
Sascha
>
> common/fastboot.c | 4 +-
> common/usbgadget.c | 6 +--
> drivers/usb/gadget/f_mass_storage.c | 64 +++++++++++++++++++++++------
> drivers/usb/gadget/multi.c | 24 ++++++++---
> include/system-partitions.h | 8 ++++
> include/usb/mass_storage.h | 1 +
> 6 files changed, 81 insertions(+), 26 deletions(-)
>
> --
> 2.30.2
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2022-03-28 8:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-19 11:02 Ahmad Fatoum
2022-03-19 11:02 ` [PATCH master 1/6] usb: gadget: implement and use system_partitions_get_null Ahmad Fatoum
2022-03-19 11:02 ` [PATCH master 2/6] usb: gadget: don't register UMS with empty function Ahmad Fatoum
2022-03-19 11:02 ` [PATCH master 3/6] usb: gadget: mass-storage: fix clean up of file descriptors Ahmad Fatoum
2022-03-19 11:02 ` [PATCH master 4/6] usb: gadget: mass-storage: reference count allocations used in bthread Ahmad Fatoum
2022-03-19 11:02 ` [PATCH master 5/6] usb: gadget: multi: fix broken handling of USB function bind error Ahmad Fatoum
2022-03-19 11:02 ` [PATCH master 6/6] usb: gadget: multi: free UMS instance at multi_unbind time Ahmad Fatoum
2022-03-28 8:53 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220328085308.GJ12181@pengutronix.de \
--to=sha@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox