diff options
author | Uwe Kleine-König <[email protected]> | 2023-07-10 09:19:39 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-07-11 20:24:32 -0700 |
commit | 1e679b957ae244cd839b8792b589ea5a671482e8 (patch) | |
tree | bc99aa79eb2988598b7a57c5b46c9299503c7ffa /drivers/fpga/fpga-mgr.c | |
parent | b8e39b38487e68c6503419db6e4a851a0ef56de7 (diff) |
net: dpaa: Improve error reporting
Instead of the generic error message emitted by the driver core when a
remove callback returns an error code ("remove callback returned a
non-zero value. This will be ignored."), emit a message describing the
actual problem and return zero to suppress the generic message.
Note that apart from suppressing the generic error message there are no
side effects by changing the return value to zero. This prepares
changing the remove callback to return void.
Acked-by: Madalin Bucur <[email protected]>
Reviewed-by: Michal Kubiak <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions