diff options
author | Nihar Chaithanya <niharchaithanya@gmail.com> | 2024-12-31 00:26:28 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-07 15:38:55 +0100 |
commit | 908ff8d49e725c6b29aa9fc2dbfd10fa87223492 (patch) | |
tree | 67021e7580d40bcbef352e0855287b19829ad8f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 10ca8c3b51f7ad557fdd1953eaad8b5a91774ecd (diff) |
staging: gpib: gpio: 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 also the error value.
Signed-off-by: Nihar Chaithanya <niharchaithanya@gmail.com>
Link: https://lore.kernel.org/r/20241230185633.175690-9-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