aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorLi Zhijian <[email protected]>2024-01-16 12:51:51 +0800
committerThomas Gleixner <[email protected]>2024-01-26 18:25:16 +0100
commiteffe6d278e06f85289b6ada0402a6d16ebc149a5 (patch)
treed01daf2ac4236dcf19cd6573e0a7fe683613ebae /lib/test_fortify/write_overflow-strncpy-src.c
parentef7e585bf48013baabc00de1a15753dd7b626a2d (diff)
kernel/cpu: Convert snprintf() to sysfs_emit()
Per filesystems/sysfs.rst, show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. coccinelle complains that there are still a couple of functions that use snprintf(). Convert them to sysfs_emit(). No functional change intended. Signed-off-by: Li Zhijian <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions