SCSI: mpt2sas: _scsih_smart_predicted_fault uses GFP_KERNEL in interrupt context
authorAnton Blanchard <anton@samba.org>
Mon, 7 Nov 2011 11:05:21 +0000 (22:05 +1100)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 11 Jan 2012 17:24:19 +0000 (09:24 -0800)
commit3a0fad2f4874c9b444152426b727e0fdc5325689
treec41f02d7a085d37fd3fe45f1f495fcff2b2de34d
parent54d95d962fe127d3460ff1d6610331b7626c7523
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>

Change-Id: I4c9ddbf69e5d6ea938804af78df524ea08535c63
Reviewed-on: http://git-master/r/74164
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c