diff options
author | Christoph Hellwig <[email protected]> | 2021-06-17 16:22:10 +0200 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-06-21 15:29:24 -0600 |
commit | e1499647c69c72c4583273e773d8c2786cb4bee9 (patch) | |
tree | 3a9e2d5c2087114c77ab4d30c840211f46423296 /scripts/gdb/linux/tasks.py | |
parent | 204db60c83574559a8e08ce4bbd0029d56b8ab2e (diff) |
driver core: Better distinguish probe errors in really_probe
really_probe tries to special case errors from ->probe, but due to all
other initialization added to the function over time now a lot of
internal errors hit that code path as well. Untangle that by adding
a new probe_err local variable and apply the special casing only to
that.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Kirti Wankhede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions