usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Nov 2016 19:33:17 +0000 (22:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:39:17 +0000 (11:39 +0100)
commit6db52153fea3c4cca32712106202955d034e7fad
tree92af22d2d849cf58981152b48e3583a33fed9408
parent1bd67e85edf1826afbc592028bce941e0425f2dc
usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL

commit c95a9f83711bf53faeb4ed9bbb63a3f065613dfb upstream.

We normally use the passed in gfp flags for allocations, it's just these
two which were missed.

Fixes: 22d45f01a836 ("usb/xhci: replace pci_*_consistent() with dma_*_coherent()")
Cc: Mathias Nyman <mathias.nyman@intel.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c