]> git.karo-electronics.de Git - linux-beck.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)
commita5b0e4062fb225155189e593699bbfcd0597f8b5
tree319cb088809dfc00196fa8077809b6b2d2e69f8a
parent387b978cb0d12cf3720ecb17e652e0a9991a08e2
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