OSDN Git Service

staging: gasket: page table: use GFP_KERNEL for dma_alloc_coherent
authorTodd Poynor <toddpoynor@google.com>
Mon, 17 Sep 2018 12:38:58 +0000 (05:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 11:22:01 +0000 (13:22 +0200)
commit45dd9954d903310f1fd8d5ac90d7faeca0694415
tree683cd321e22110685b23ce2432338e6e3558d6c4
parent467976ff6e566a695c2964bb2ca24eba154a1d82
staging: gasket: page table: use GFP_KERNEL for dma_alloc_coherent

Flags should be specified for dma_alloc_coherent() call.  Use
GFP_KERNEL, it's fine to sleep here.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_page_table.c