[PATCH RESEND] rtc: ab8500: replace sprintf() with sysfs_emit()
Alexandre Belloni
alexandre.belloni at bootlin.com
Mon May 4 09:04:54 PDT 2026
On Sun, 03 May 2026 15:12:36 -0500, Maxwell Doose wrote:
> This patch replaces sprintf() with sysfs_emit() to ensure proper
> bounds checking. It also simplifies the return logic by directly
> returning the error after logging, instead of logging, calling
> sprintf(), then returning.
Applied, thanks!
[1/1] rtc: ab8500: replace sprintf() with sysfs_emit()
https://git.kernel.org/abelloni/c/b72386864481
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the linux-arm-kernel
mailing list