summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-05-13 14:57:55 +0300
committerWill Deacon <will@kernel.org>2026-05-19 14:16:12 +0300
commit243c1d75a01e5fc6cea213e52ea871155cf4946e (patch)
tree07ed5951a12df5577df26f025849d79e7ce1c7f9 /include/linux
parentede94377d855cff9c729539ef1e0ef525f7318cd (diff)
downloadlinux-243c1d75a01e5fc6cea213e52ea871155cf4946e.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions