[PATCH 0/2] usb: small dma allocation fixes

Sascha Hauer s.hauer at pengutronix.de
Fri Jun 30 04:52:19 PDT 2023


On Thu, Jun 29, 2023 at 10:52:56PM +0300, Denis Orlov wrote:
> Make sure dma buffers are both properly allocated and freed (they were
> not in a few places).
> 
> Denis Orlov (2):
>   usb: storage: fix missing calls to free()
>   usb: make sure dma buffers are properly allocated
> 
>  drivers/usb/core/usb.c          | 16 ++++---
>  drivers/usb/storage/transport.c | 74 +++++++++++++++++++--------------
>  drivers/usb/storage/usb.c       | 30 ++++++++-----
>  3 files changed, 71 insertions(+), 49 deletions(-)

Applied, thanks

Sascha

-- 
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 |



More information about the barebox mailing list