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

Denis Orlov denorl2009 at gmail.com
Thu Jun 29 12:52:56 PDT 2023


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

-- 
2.41.0




More information about the barebox mailing list