diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-03-01 13:51:07 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-03-27 21:19:38 -0700 |
| commit | defec2ca7cd743c9b8a29be5012ad7381a5ecbb3 (patch) | |
| tree | 25faa3ee83dfa85101b344a995b9486ee43f85c6 /tools/perf/scripts/python | |
| parent | 90c73d0bfa36ea80f3a55f5426daa46fa2795957 (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
