Re: [patch] usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
From: Sebastian Andrzej Siewior
Date: Fri Nov 11 2016 - 03:28:19 EST
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 <bigeasy@xxxxxxxxxxxxx>
> Fixes: 22d45f01a836 ("usb/xhci: replace pci_*_consistent() with dma_*_coherent()")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Sebastian