[SCSI] mpt2sas: add missing allocation.
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 4 Nov 2011 18:25:01 +0000 (21:25 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 Nov 2011 16:50:38 +0000 (10:50 -0600)
commit181a9d795ab763b03b15f73402691abde98d1803
tree7bdcf7c1c4263999fb33b528b16a8fc2b56e4ca0
parent745718132c3c7cac98a622b610e239dcd5217f71
[SCSI] mpt2sas: add missing allocation.

There was supposed to be a kzalloc() here and the compiler complained
about it.
mpt2sas_scsih.c: In function ‘mpt2sas_scsih_reset_handler’:
mpt2sas_scsih.c:2807:21: warning: ‘fw_event’ may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c