summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorStefan Pedratscher <pedratscher.stefan@gmail.com>2026-04-06 20:25:12 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2026-04-27 14:52:12 +0300
commit99a680bed60428175ff9c5c95d579826ca2ff3f8 (patch)
tree91c97bc8b592f8088e9597f3bd4b5119ccfb6b5c /tools/lib/python
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadlinux-99a680bed60428175ff9c5c95d579826ca2ff3f8.tar.xz
zorro: sysfs: Replace sprintf() by sysfs_emit()
Convert sysfs show functions from sprintf() to sysfs_emit(), as recommended by Documentation/filesystems/sysfs.rst. This ensures proper buffer handling and avoids potential buffer overflows. Signed-off-by: Stefan Pedratscher <pedratscher.stefan@gmail.com> Tested-by: Daniel Palmer <daniel@thingy.jp> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://patch.msgid.link/20260406172512.6693-1-pedratscher.stefan@gmail.com Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions