Searched hist:"98 cdcd6c6b4a3abacc65dd7ec66a230a5dffc3f8" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/ |
H A D | wd719x.c | diff 98cdcd6c6b4a3abacc65dd7ec66a230a5dffc3f8 Mon Feb 28 15:54:15 CET 2022 Zheyu Ma <zheyuma97@gmail.com> scsi: wd719x: Return proper error code when dma_set_mask() fails
During the process of driver probing, the probe function should return < 0 for failure, otherwise the kernel will treat value >= 0 as success.
Set 'err' to the error value returned by dma_set_mask() in case of failure.
Link: https://lore.kernel.org/r/1646060055-11361-1-git-send-email-zheyuma97@gmail.com Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Zheyu Ma <zheyuma97@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|