]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvscsis: Fix sleeping in interrupt context
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>
Wed, 11 Jan 2017 19:16:42 +0000 (13:16 -0600)
committerBart Van Assche <bart.vanassche@sandisk.com>
Tue, 17 Jan 2017 17:42:29 +0000 (09:42 -0800)
commit694ca046c88cfd083a975d9c5dc43d9218ea545b
tree319cb088809dfc00196fa8077809b6b2d2e69f8a
parentbaa8079491aa01ea40286b36b70c858950b7770a
ibmvscsis: Fix sleeping in interrupt context

Currently, dma_alloc_coherent is being called with a GFP_KERNEL
flag which allows it to sleep in an interrupt context, need to
change to GFP_ATOMIC.

Cc: stable@vger.kernel.org
Tested-by: Steven Royer <seroyer@linux.vnet.ibm.com>
Reviewed-by: Michael Cyr <mikecyr@linux.vnet.ibm.com>
Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c