aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-10 23:41:26 +0100
committerLi Yang <[email protected]>2023-05-30 18:58:42 -0500
commitb3134039c5b3cf879841e3ec84c8cbf7675554ec (patch)
treec8ad673d5773a6cfd01c303a42b386c36404243b /lib/mpi/mpi-add.c
parente0ac89361cfb45d7c84de81563367745d2056f16 (diff)
bus: fsl-mc: fsl-mc-allocator: Improve error reporting
Instead of silently returning an error in the remove callback (which yields a generic and little informing error message), annotate each error path of fsl_mc_resource_pool_remove_device() with an error message and return zero in the remove callback to suppress the error message. Note that changing the return value has no other effect than suppressing the error message by the fsl_mc bus driver. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Ioana Ciornei <[email protected]> Tested-by: Ioana Ciornei <[email protected]> # sanity checks Reviewed-by: Laurentiu Tudor <[email protected]> Tested-by: Laurentiu Tudor <[email protected]> Signed-off-by: Li Yang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions