USB: UDC: Fix memory leaks by expanding the API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 0 repliesNew
- v3 posting 2/26 patches 0 repliesSuperseded
- v3 posting 1/26 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 6 patches | 9 replies | Superseded | |
| v1 | 6 patches | 4 replies | Superseded |
Changes in v4 from the cover letter
- Add Greg and Alan's reviewed-by.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | USB: UDC: Expand device model API interfacedrivers/ include/ | +84 | 0 replies | |
| 2/6 | USB: UDC: net2280: Fix memory leaksdrivers/ drivers/ | +8 | 0 replies | |
| 3/6 | USB: UDC: net2272: Fix memory leaksdrivers/ drivers/ | +14 | 0 replies | |
| 4/6 | usb: cdns3: gadget: fix possible memory leakdrivers/ | +15 | 0 replies | |
| 5/6 | usb: dwc3: allocate gadget structure dynamicallydrivers/ drivers/ drivers/ +1 more | +78 | 0 replies | |
| 6/6 | Revert "usb: udc: allow adding and removing the same gadget device"drivers/ | +0 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Greg Kroah-Hartman | Alan Stern |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/6] USB: UDC: Fix memory leaks by expanding the API
This series expands the UDC API to fix some long-standing memory leaks in the net2280 and net2272 drivers. And with expanding APIs, it could manage cdns3 and dwc3 gadget device memory better without the hacks at UDC core.
Changes for v4:
- Add Greg and Alan's reviewed-by.
Changes for v3:
- Rebase the latest usb/next, and fix one build error for dwc3 [Patch 5/6]
Alan Stern (3):
USB: UDC: Expand device model API interface
USB: UDC: net2280: Fix memory leaks
USB: UDC: net2272: Fix memory leaks
Peter Chen (3):
usb: cdns3: gadget: fix possible memory leak
usb: dwc3: allocate gadget structure dynamically
Revert "usb: udc: allow adding and removing the same gadget device"
drivers/usb/cdns3/gadget.c | 20 ++++-- drivers/usb/dwc3/core.h | 2 +- drivers/usb/dwc3/ep0.c | 26 ++++---- drivers/usb/dwc3/gadget.c | 108 ++++++++++++++++++------------- drivers/usb/dwc3/gadget.h | 2 +- drivers/usb/gadget/udc/core.c | 79 +++++++++++++++++----- drivers/usb/gadget/udc/net2272.c | 23 ++++--- drivers/usb/gadget/udc/net2272.h | 1 + drivers/usb/gadget/udc/net2280.c | 11 ++-- drivers/usb/gadget/udc/net2280.h | 1 + include/linux/usb/gadget.h | 27 ++++++-- 11 files changed, 199 insertions(+), 101 deletions(-)
Signature · 1 line
2.17.1