summaryrefslogtreecommitdiffstats
path: root/lib/bug.c
diff options
context:
space:
mode:
authorzhangguopeng <zhangguopeng@kylinos.cn>2024-11-05 10:49:41 +0100
committerAndrew Morton <akpm@linux-foundation.org>2024-11-12 02:17:05 +0100
commit45dac1959bbdc498a2abb89919221455225789dc (patch)
tree66345aa96686b11a4ff28af03be15d748908129a /lib/bug.c
parentlib: util_macros_kunit: add kunit test for util_macros.h (diff)
downloadlinux-45dac1959bbdc498a2abb89919221455225789dc.tar.xz
linux-45dac1959bbdc498a2abb89919221455225789dc.zip
kernel/reboot: replace sprintf() with sysfs_emit()
As Documentation/filesystems/sysfs.rst suggested, show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. No functional change intended. Link: https://lkml.kernel.org/r/20241105094941.33739-1-zhangguopeng@kylinos.cn Signed-off-by: zhangguopeng <zhangguopeng@kylinos.cn> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Fabio Estevam <festevam@denx.de> Cc: Joel Granados <joel.granados@kernel.org> Cc: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions