scsi: qla2xxx: Fix SRB allocation flag to avoid sleeping in IRQ context
authorGiridhar Malavali <gmalavali@marvell.com>
Fri, 25 Jan 2019 07:23:46 +0000 (23:23 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Feb 2019 02:41:16 +0000 (21:41 -0500)
commit97a93cea887376e13ea7d473ab349181850f4e39
tree862cd8e32919489ae20cf1b49f40743d8dfb7dc2
parent1021f0bc2f3d6ac80a33aac0059dce8fd1622235
scsi: qla2xxx: Fix SRB allocation flag to avoid sleeping in IRQ context

This patch fixes SRB allocation flag from GFP_KERNEL to GFP_ATOMIC, to
prevent sleeping in IRQ context

Signed-off-by: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c