Re: [PATCH net-next v3] net: bridge: use sysfs_emit instead of sprintf
Ido Schimmel <[email protected]>
| Newsgroups | gmane.linux.network.bridge |
|---|---|
| Message-ID | <20260203095510.GA60009__39445.7876611099$1770112782$gmane$org@shredder> |
On Mon, Feb 02, 2026 at 07:09:41PM +0000, David Corvaglia wrote: > Replace sprintf with sysfs_emit in sysfs show() methods as outlined in > Documentation/filesystems/sysfs.rst. > > sysfs_emit is preferred to sprintf in sysfs show() methods as it is safer > with buffer handling. > > Signed-off-by: David Corvaglia <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> For future submissions, please wait at least 24 hours before posting a new version. See: https://docs.kernel.org/process/maintainer-netdev.html Thanks!