Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e233e13e authored by Zhen Lei's avatar Zhen Lei Committed by Lee Jones
Browse files

BACKPORT: driver core: Fix error return code in really_probe()



In the case of error handling, the error code returned by the subfunction
should be propagated instead of 0.

Bug: 254441685
Fixes: 1901fb26 ("Driver core: fix "driver" symlink timing")
Fixes: 23b69044 ("driver core: add dev_groups to all drivers")
Fixes: 8fd456ec0cf0 ("driver core: Add state_synced sysfs file for devices that support it")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210707074301.2722-1-thunder.leizhen@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit f04948dea236b000da09c466a7ec931ecd8d7867)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I0d6913e62c67aea9824dce4b4f2c65b99f1ab099
parent fb4622ee
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