diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-03-01 15:51:07 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-03-28 07:19:38 +0300 |
| commit | defec2ca7cd743c9b8a29be5012ad7381a5ecbb3 (patch) | |
| tree | 25faa3ee83dfa85101b344a995b9486ee43f85c6 /scripts | |
| parent | 90c73d0bfa36ea80f3a55f5426daa46fa2795957 (diff) | |
| download | linux-defec2ca7cd743c9b8a29be5012ad7381a5ecbb3.tar.xz | |
crash_dump: use sysfs_emit in sysfs show functions
Replace sprintf() with sysfs_emit() in sysfs show functions. sysfs_emit()
is preferred for formatting sysfs output because it provides safer bounds
checking. No functional changes.
Link: https://lkml.kernel.org/r/20260301125106.911980-2-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Baoquan He <bhe@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
