aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-13 08:54:28 +0100
committerDaniel Lezcano <[email protected]>2023-04-24 16:56:13 +0200
commit8efcbe927c5129d5b2528bbb40034c7dde87a6b6 (patch)
tree5a37f485bc488b4862966436b8872a88623be034 /lib/test_fortify/write_overflow-strncpy-src.c
parentede38f924a9e3c60382a13576347dc41967e8762 (diff)
clocksource/drivers/timer-ti-dm: Improve error message in .remove
If a platform driver's remove callback returns an error code, the driver core emits a generic (and thus little helpful) error message. Instead emit a more specifc error message about the actual error and return zero to suppress the core's message. Note that returning zero has no side effects apart from not emitting said error message. This prepares converting platform driver's remove message to return void. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions