scsi: mpt3sas: Fix memory allocation failure test in 'mpt3sas_base_attach()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 6 Aug 2017 22:51:29 +0000 (00:51 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Aug 2017 23:36:51 +0000 (19:36 -0400)
commita5dd7efd356abeaf268ef5e260a99453ebe01b82
tree7c1354e38eb2ec005ee46b8093663d1360899c5d
parent2ae203fa2829328c2b7c2104d66129a39881b96d
scsi: mpt3sas: Fix memory allocation failure test in 'mpt3sas_base_attach()'

In the lines above this test, 8 'kzalloc' are performed, but only 7
results are tested.

Add the missing one (i.e. '!ioc->port_enable_cmds.reply').

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c