aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-12-02 17:21:54 +0800
committerHans de Goede <hdegoede@redhat.com>2022-12-08 17:07:07 +0100
commite84cfa364339e28f3f4bcc1dcc265dbb210bceea (patch)
tree5224c2a2627e6c3b92ebec485cb0d46029c003a8 /scripts
parentplatform/x86: uv_sysfs: Use sysfs_emit() instead of scnprintf() (diff)
downloadlinux-e84cfa364339e28f3f4bcc1dcc265dbb210bceea.tar.gz
linux-e84cfa364339e28f3f4bcc1dcc265dbb210bceea.zip
platform/x86/dell: alienware-wmi: 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> Link: https://lore.kernel.org/r/202212021721543696124@zte.com.cn Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions