summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorNihar Chaithanya <niharchaithanya@gmail.com>2024-12-30 21:56:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-07 17:38:56 +0300
commit942b483ef3db0a74910b7c7f500bd0ed063767e0 (patch)
treea9bf34e25ef5fcbb54c30ef444fd086a7ab6e6ac /include/linux/debugobjects.h
parent635ddb8ccdbde0d917b0a7448b0fd9d6cc27a2a9 (diff)
downloadlinux-942b483ef3db0a74910b7c7f500bd0ed063767e0.tar.xz
staging: gpib: pc2: Handle gpib_register_driver() errors
The function gpib_register_driver() can fail, resulting in a semi-registered module and does not return an error value if it fails. Unregister the previous gpib registering functions if subsequent gpib_register_driver() fail and return the error value. Add pr_err() statements indicating the fail and error value. Signed-off-by: Nihar Chaithanya <niharchaithanya@gmail.com> Link: https://lore.kernel.org/r/20241230185633.175690-15-niharchaithanya@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions