]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dqs: use sysfs_emit() in favor of sprintf()
authorEric Dumazet <edumazet@google.com>
Thu, 4 Apr 2024 16:46:04 +0000 (16:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2024 10:04:08 +0000 (11:04 +0100)
commitdb77cdc69684890b37ff2bb9fb9e0be2ba4d6efe
tree719faa9320acb94694be10c8e822422ec42fa28d
parent5a66cda52d7daccc88aa358872816c35093759f9
net: dqs: use sysfs_emit() in favor of sprintf()

Commit 6025b9135f7a ("net: dqs: add NIC stall detector based on BQL")
added three sysfs files.

Use the recommended sysfs_emit() helper.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Breno Leitao <leitao@debian.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c