summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-as3722.c
diff options
context:
space:
mode:
authorWei Li <liwei391@huawei.com>2021-07-15 05:26:25 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-10 05:30:25 +0200
commit632c4ae6da1d629eddf9da1e692d7617c568c256 (patch)
treea95af1cdddac64a7c835df66fa923d3f66335d8d /drivers/rtc/rtc-as3722.c
parentscsi: snic: Remove redundant assignment to variable ret (diff)
downloadlinux-632c4ae6da1d629eddf9da1e692d7617c568c256.tar.xz
linux-632c4ae6da1d629eddf9da1e692d7617c568c256.zip
scsi: fdomain: Fix error return code in fdomain_probe()
If request_region() fails the return value is not set. Return -EBUSY on error. Link: https://lore.kernel.org/r/20210715032625.1395495-1-liwei391@huawei.com Fixes: 8674a8aa2c39 ("scsi: fdomain: Add PCMCIA support") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Li <liwei391@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/rtc/rtc-as3722.c')
0 files changed, 0 insertions, 0 deletions