Re: [PATCH RESEND] rtc: ab8500: replace sprintf() with sysfs_emit()
From: Alexandre Belloni
Date: Mon May 04 2026 - 12:07:58 EST
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