Skip to content
Commit f0f6c3a4 authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by Martin K. Petersen
Browse files

scsi: bfa: Fix error return in bfad_pci_init()

Fix to return error code -ENODEV from the error handling case instead of 0.

Link: https://lore.kernel.org/r/20200925062423.161504-1-jingxiangfeng@huawei.com


Fixes: 11ea3824 ("scsi: bfa: fix calls to dma_set_mask_and_coherent()")
Signed-off-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent de6c063f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment