Thread (4 messages) 4 messages, 4 authors, 2026-02-04

Re: [PATCH net-next v3] net: bridge: use sysfs_emit instead of sprintf

From: Ido Schimmel <idosch@nvidia.com>
Date: 2026-02-03 09:55:23
Also in: bridge, lkml

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 <redacted>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>

For future submissions, please wait at least 24 hours before posting a
new version. See:

https://docs.kernel.org/process/maintainer-netdev.html

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help