SCSI: mpt2sas: _scsih_smart_predicted_fault uses GFP_KERNEL in interrupt context
commit998a783b403e6dcea6bd1a3f2d221dbd84c96274
authorAnton Blanchard <anton@samba.org>
Mon, 7 Nov 2011 11:05:21 +0000 (7 22:05 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2012 23:38:01 +0000 (6 15:38 -0800)
tree81956bc1226f4113ba317b2c18020066329d495e
parent1282cf037522a2fdbcc9438595a8d5db3543c3e4
SCSI: mpt2sas: _scsih_smart_predicted_fault uses GFP_KERNEL in interrupt context

commit f6a290b419a2675c4b77a6b0731cd2a64332365e upstream.

_scsih_smart_predicted_fault is called in an interrupt and therefore
must allocate memory using GFP_ATOMIC.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c