diff options
author | Nihar Chaithanya <niharchaithanya@gmail.com> | 2024-12-31 00:26:32 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-07 15:38:56 +0100 |
commit | e3f4b64edb242ba59095b57f54df64ccecc67aac (patch) | |
tree | cf7f289fe6f8812823742ffc72171374285beeb7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 26098b787c3fd1de6ab40d26b6283c4a5e24543a (diff) |
staging: gpib: lpvo_usb: Return error value from gpib_register_driver()
The function gpib_register_driver() can fail and does not return an
error value if it fails.
Return the error value if gpib_register_driver() fails. Add pr_err()
statement indicating the fail and error value.
Signed-off-by: Nihar Chaithanya <niharchaithanya@gmail.com>
Link: https://lore.kernel.org/r/20241230185633.175690-13-niharchaithanya@gmail.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