diff options
| author | 2025-06-26 05:51:30 -0700 | |
|---|---|---|
| committer | 2025-07-23 02:23:18 +0300 | |
| commit | 9eed6373420ee74ccb2683cba36ad476ed70592d (patch) | |
| tree | 02506bbffff31edf658060837aeb94a571c7edae /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | tpm_crb_ffa: Remove unused export (diff) | |
tpm: Replace scnprintf() with sysfs_emit() and sysfs_emit_at() in sysfs show functions
Documentation/filesystems/sysfs.rst mentions that show() should only
use sysfs_emit() or sysfs_emit_at() when formating the value to be
returned to user space. So replace scnprintf() with sysfs_emit().
Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
