]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 26 Jan 2017 16:39:43 +0000 (17:39 +0100)
commit5c84eec536274007ad9acdc91725b0696393b147
treecd74b1e0ba1c6ad562072ea994578c377d321680
parent24f7fb99a15c2f4a565a1db2ebce6acdd7808005
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: Jiri Slaby <jslaby@suse.cz>
drivers/usb/host/xhci-mem.c