On 5/22/18 1:55 PM, Adam Wallis wrote:
+ 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); -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html