diff options
author | 2021-07-01 22:18:37 +0200 | |
---|---|---|
committer | 2021-07-01 15:45:01 -0700 | |
commit | 6dce38b4b7ffb39539b49feca2b3ce34dbaadf02 (patch) | |
tree | a4604e8c5f510020e258ff7422addff22b31ee56 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gve: Fix an error handling path in 'gve_probe()' (diff) | |
download | linux-dev-6dce38b4b7ffb39539b49feca2b3ce34dbaadf02.tar.xz linux-dev-6dce38b4b7ffb39539b49feca2b3ce34dbaadf02.zip |
gve: Propagate error codes to caller
If 'gve_probe()' fails, we should propagate the error code, instead of
hard coding a -ENXIO value.
Make sure that all error handling paths set a correct value for 'err'.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions