linux/drivers/scsi/megaraid
Jia-Ju Bai 896f6966fc scsi: megaraid: Fix a sleep-in-atomic bug
The driver may sleep under a spin lock, and the function call path is:
mraid_mm_attach_buf (acquire the lock by spin_lock_irqsave)
  pci_pool_alloc(GFP_KERNEL) --> may sleep

To fix it, the "GFP_KERNEL" is replaced with "GFP_ATOMIC".

[mkp: fixed whitespace]

Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-06-12 20:48:08 -04:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
megaraid_ioctl.h
megaraid_mbox.c scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
megaraid_mbox.h
megaraid_mm.c scsi: megaraid: Fix a sleep-in-atomic bug 2017-06-12 20:48:08 -04:00
megaraid_mm.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
megaraid_sas_base.c drivers/scsi/megaraid: remove expensive inline from megasas_return_cmd 2017-05-08 17:15:14 -07:00
megaraid_sas_fp.c scsi: megaraid_sas: Indentation and smatch warning fixes 2017-02-13 07:26:23 -05:00
megaraid_sas_fusion.c scsi: megaraid_sas: raid6 also require cpuSel check same as raid5 2017-03-13 22:59:53 -04:00
megaraid_sas_fusion.h scsi: megaraid_sas: Change RAID_1_10_RMW_CMDS to RAID_1_PEER_CMDS and set value to 2 2017-02-13 07:26:23 -05:00
megaraid_sas.h scsi: megaraid_sas: Driver version upgrade 2017-03-13 22:59:53 -04:00