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
gen-devlist.c
Kconfig
Makefile
names.c zorro: Remove extra whitespace in macro definitions 2025-09-15 14:30:17 +02:00
proc.c
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