diff options
author | 2021-07-07 15:43:01 +0800 | |
---|---|---|
committer | 2021-07-21 16:16:23 +0200 | |
commit | f04948dea236b000da09c466a7ec931ecd8d7867 (patch) | |
tree | 588de45b69cd34111b47dc06428b5ff12657315a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | firmware: fix theoretical UAF race with firmware cache and resume (diff) | |
download | wireguard-linux-f04948dea236b000da09c466a7ec931ecd8d7867.tar.xz wireguard-linux-f04948dea236b000da09c466a7ec931ecd8d7867.zip |
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.
Fixes: 1901fb2604fb ("Driver core: fix "driver" symlink timing")
Fixes: 23b6904442d0 ("driver core: add dev_groups to all drivers")
Fixes: 8fd456ec0cf0 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions