aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-12-05 10:21:45 +0800
committerJakub Kicinski <kuba@kernel.org>2022-12-06 20:37:38 -0800
commit1ab586f5177b3b2805a05aa926a5b46d3d7f112c (patch)
tree5bb121b3855565ff53de5d87465de7bba06a5e44 /net/core/sock.c
parentnet: sfp: clean up i2c-bus property parsing (diff)
downloadwireguard-linux-1ab586f5177b3b2805a05aa926a5b46d3d7f112c.tar.xz
wireguard-linux-1ab586f5177b3b2805a05aa926a5b46d3d7f112c.zip
sfc: use sysfs_emit() to instead of scnprintf()
Follow the advice of the Documentation/filesystems/sysfs.rst and show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Acked-by: Martin Habets <habetsm.xilinx@gmail.com> Link: https://lore.kernel.org/r/202212051021451139126@zte.com.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions