aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-10 23:41:27 +0100
committerLi Yang <[email protected]>2023-05-30 18:58:43 -0500
commitc27ea8e6325cad44c8c5bc2e8e7cc7635f358f31 (patch)
treee1aad796539157cdaccefa9e69a6a6420a23a12d /lib/test_fortify/write_overflow-strcpy.c
parentb3134039c5b3cf879841e3ec84c8cbf7675554ec (diff)
soc: fsl: dpio: Suppress duplicated error reporting on device remove
Returning an error code from a fsl_mc_driver's remove callback results in a generic error message, otherwise the value is ignored and the device gets unbound. As the only error path in dpaa2_dpio_remove() already emits an error message, return zero unconditionally to suppress another (less helpful) error report. 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/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions