Skip to contentSkip to conversation

usb: Convert xhci-mem to XArray

PATCH New Greg Kroah-Hartman 1 participant 1 message Mar 19, 2019 USB

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH 1/4 usb: Convert xhci-mem to XArray

Quoted 9 lines · Matthew Wilcox

The XArray API is a better fit for xhci than the radix tree API was, to the point where we can remove the wrappers around the radix tree and just call the XArray APIs directly.

---
 drivers/usb/host/xhci-mem.c | 86 +++++++++++++------------------------
 drivers/usb/host/xhci.h     |  5 ++-
 2 files changed, 33 insertions(+), 58 deletions(-)

At first glance this looks good to me, did you test it?

thanks,

greg k-h