diff options
author | Marek Vasut <[email protected]> | 2024-07-05 08:48:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-07-05 09:55:05 +0200 |
commit | 08c367e45b6d322956878774f0b88bf5e52c6d54 (patch) | |
tree | c75fef580a69325e03e22a21825d498f8e56db1e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a5f65c7735bd783689ceb42cffccb1ad0365d4b5 (diff) |
nvmem: Use sysfs_emit() for type attribute
Use sysfs_emit() instead of sprintf() to follow best practice per
Documentation/filesystems/sysfs.rst
"
show() should only use sysfs_emit()...
"
Signed-off-by: Marek Vasut <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions