diff options
| author | Nihar Chaithanya <niharchaithanya@gmail.com> | 2024-12-31 00:26:27 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-07 15:38:55 +0100 |
| commit | 10ca8c3b51f7ad557fdd1953eaad8b5a91774ecd (patch) | |
| tree | 3d568fd0c08748b62058acc3d7c0ffe1c3cf6c74 /scripts/stackusage | |
| parent | staging: gpib: fluke: Handle gpib_register_driver() errors (diff) | |
| download | linux-10ca8c3b51f7ad557fdd1953eaad8b5a91774ecd.tar.gz linux-10ca8c3b51f7ad557fdd1953eaad8b5a91774ecd.zip | |
staging: gpib: fmh: 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 platform driver, pci and gpib registering
functions if subsequent gpib_register_driver() fail and return the
error value. Add pr_err() statements indicating the fail and also the
error value.
Signed-off-by: Nihar Chaithanya <niharchaithanya@gmail.com>
Link: https://lore.kernel.org/r/20241230185633.175690-8-niharchaithanya@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
