mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-12 04:49:54 +00:00
[ Upstream commitf04948dea2] In the case of error handling, the error code returned by the subfunction should be propagated instead of 0. Fixes:1901fb2604("Driver core: fix "driver" symlink timing") Fixes:23b6904442("driver core: add dev_groups to all drivers") Fixes:8fd456ec0c("driver core: Add state_synced sysfs file for devices that support it") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Link: https://lore.kernel.org/r/20210707074301.2722-1-thunder.leizhen@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
34 KiB
34 KiB