Re: [PATCH v2] iio: proximity: srf08: replace sprintf with sysfs_emit
From: Andy Shevchenko
Date: Mon Apr 20 2026 - 05:08:48 EST
On Sun, Apr 19, 2026 at 10:58:06AM -0500, Maxwell Doose wrote:
> This patch replaces sprintf function calls with sysfs_emit and
> sysfs_emit_at. This removes unsafe functions and makes the driver more
> stable and modern, by ensuring that boundary checks take place.
Have you read my other reply?
Please, follow the comments I gave there and update the commit message,
Subject, and the code accordingly.
--
With Best Regards,
Andy Shevchenko