Skip to content

xhci: mem: Short cleanup series

Andy Shevchenko linux-usb lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v17 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- used dma_pool_zalloc() instead of open coding it (Mathias)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7xhci: mem: Carefully calculate size for memory allocationsdrivers/usb/host/xhci-mem.c+5 -40 replies
2/7xhci: mem: Use dma_poll_zalloc() instead of explicit memset()drivers/usb/host/xhci-mem.c+2 -40 replies
3/7xhci: mem: Get rid of redundant 'else'drivers/usb/host/xhci-mem.c+6 -80 replies
4/7xhci: mem: Drop useless return:sdrivers/usb/host/xhci-mem.c+4 -70 replies
5/7xhci: mem: Use while (i--) pattern to clean updrivers/usb/host/xhci-mem.c+1 -20 replies
6/7xhci: mem: Replace explicit castings with appropriate specifiersdrivers/usb/host/xhci-mem.c+7 -100 replies
7/7xhci: mem: Join string literals backdrivers/usb/host/xhci-mem.c+10 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] xhci: mem: Short cleanup series

Clean up xhci-mem.c a bit using latest and greatest Linux kernel features.

Changelog v2:
- used dma_pool_zalloc() instead of open coding it (Mathias)

Andy Shevchenko (7):
xhci: mem: Carefully calculate size for memory allocations
xhci: mem: Use dma_poll_zalloc() instead of explicit memset()
xhci: mem: Get rid of redundant 'else'
xhci: mem: Drop useless return:s
xhci: mem: Use while (i--) pattern to clean up
xhci: mem: Replace explicit castings with appropriate specifiers
xhci: mem: Join string literals back

 drivers/usb/host/xhci-mem.c | 83 +++++++++++++++----------------------
 1 file changed, 33 insertions(+), 50 deletions(-)
Signature · 1 line
2.39.1