usb: xhci: force all memory allocations to node
PATCH v2 1/1 usb: xhci: force all memory allocations to node
Review
Quoted 1 line · Adam Wallis
(quoted diff) +1
-0+ struct device *dev = xhci_to_hcd(xhci)->self.sysdev;
Since you only use 'dev' to get the NUMA node, you might want to consider this instead:
int node = dev_to_node(xhci_to_hcd(xhci)->self.sysdev);