public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Ido Schimmel <idosch@nvidia•com>
To: David Corvaglia <david@corvaglia•dev>
Cc: razor@blackwall•org, davem@davemloft•net, edumazet@google•com,
	kuba@kernel•org, pabeni@redhat•com, horms@kernel•org,
	bridge@lists•linux.dev, netdev@vger•kernel.org,
	linux-kernel@vger•kernel.org
Subject: Re: [PATCH net-next v3] net: bridge: use sysfs_emit instead of sprintf
Date: Tue, 3 Feb 2026 11:55:10 +0200	[thread overview]
Message-ID: <20260203095510.GA60009@shredder> (raw)
In-Reply-To: <0100019c1fc2bcc3-bc9ca2f1-22d7-4250-8441-91e4af57117b-000000@email.amazonses.com>

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 <david@corvaglia•dev>

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!

  parent reply	other threads:[~2026-02-03  9:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-02 19:09 [PATCH net-next v3] net: bridge: use sysfs_emit instead of sprintf David Corvaglia
2026-02-03  7:51 ` Nikolay Aleksandrov
2026-02-03  9:55 ` Ido Schimmel [this message]
2026-02-04  3:30 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260203095510.GA60009@shredder \
    --to=idosch@nvidia$(echo .)com \
    --cc=bridge@lists$(echo .)linux.dev \
    --cc=davem@davemloft$(echo .)net \
    --cc=david@corvaglia$(echo .)dev \
    --cc=edumazet@google$(echo .)com \
    --cc=horms@kernel$(echo .)org \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=razor@blackwall$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox