scsi: fusion: Fix error return code in mptfc_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 10 Sep 2016 16:06:36 +0000 (16:06 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Sep 2016 18:26:19 +0000 (14:26 -0400)
commitc08b3f9a27006c5c541b5c0fa273444a93617fda
tree366aec33bd84f92847e4da923671827b706024d4
parent45e596cd6ead1c4ada74b03067595d7f4502fa6a
scsi: fusion: Fix error return code in mptfc_probe()

Fix to return error code -ENOMEM from the workqueue alloc error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptfc.c