summaryrefslogtreecommitdiffstats
path: root/samples/kfifo
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-12-02 17:05:12 +0800
committerHans de Goede <hdegoede@redhat.com>2022-12-08 17:07:01 +0100
commitd240849c75f4efc931f38d3529dcbcbd76adbd81 (patch)
tree41f625f7cb41fa6989f451461ff75b2b57d35918 /samples/kfifo
parent727cc0147f5066e359aca65cc6cc5e6d64cc15d8 (diff)
downloadlinux-d240849c75f4efc931f38d3529dcbcbd76adbd81.tar.bz2
platform/x86: uv_sysfs: Use sysfs_emit() 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: Justin Ernst <justin.ernst@hpe.com> Link: https://lore.kernel.org/r/202212021705128095546@zte.com.cn Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions