summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNihar Chaithanya <niharchaithanya@gmail.com>2024-12-31 00:26:22 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-07 15:38:55 +0100
commitf546fa464031423be3dbebc966ad4703f985c9d5 (patch)
tree9e1aaa8e8e1c4d9eab184b0ffb645c4ebed5a08a /tools/perf/scripts/python/event_analyzing_sample.py
parente999bd2a897e7d70fa1fca6b80873529532322fe (diff)
staging: gpib: agilent_82350b: Handle gpib_register_driver() errors
The function gpib_register_driver() can fail which can result in semi-registered module. In case gpib_register_driver() fails unregister the previous gpib and pci registering functions, return the error value. Add pr_err() when registering driver fails also indicate the error value. Signed-off-by: Nihar Chaithanya <niharchaithanya@gmail.com> Link: https://lore.kernel.org/r/20241230185633.175690-3-niharchaithanya@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions