On 2016-11-10 22:33:17 [+0300], Dan Carpenter wrote:
> We normally use the passed in gfp flags for allocations, it's just these
> two which were missed.

You seem to be right. xhci_mem_init() has only one caller with
GFP_KERNEL as argument. You could unwind it.

Acked-by: Sebastian Andrzej Siewior <[email protected]>

> Fixes: 22d45f01a836 ("usb/xhci: replace pci_*_consistent() with 
> dma_*_coherent()")
> Signed-off-by: Dan Carpenter <[email protected]>

Sebastian

Reply via email to