diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-05-13 13:57:55 +0200 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-05-19 12:16:12 +0100 |
| commit | 243c1d75a01e5fc6cea213e52ea871155cf4946e (patch) | |
| tree | 07ed5951a12df5577df26f025849d79e7ce1c7f9 /scripts/Makefile.thinlto | |
| parent | ede94377d855cff9c729539ef1e0ef525f7318cd (diff) | |
arm64: proton-pack: use sysfs_emit in sysfs show functions
Replace sprintf() with sysfs_emit() in sysfs show functions, which is
preferred for formatting sysfs output because it provides safer bounds
checking.
While the current code only emits fixed strings that fit easily within
PAGE_SIZE, use sysfs_emit() to follow secure coding best practices.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
