linux/drivers/zorro
Stefan Pedratscher 99a680bed6 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>
2026-04-27 13:52:12 +02:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
gen-devlist.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
names.c zorro: Remove extra whitespace in macro definitions 2025-09-15 14:30:17 +02:00
proc.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
zorro-driver.c zorro: make match function take a const pointer 2024-07-10 10:25:54 +02:00
zorro-sysfs.c zorro: sysfs: Replace sprintf() by sysfs_emit() 2026-04-27 13:52:12 +02:00
zorro.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
zorro.h zorro: Make zorro_bus_type const 2024-02-19 11:10:55 +01:00
zorro.ids