Re: [PATCH] zorro: sysfs: replace sprintf with sysfs_emit
From: Daniel Palmer
Date: Wed Apr 08 2026 - 06:13:11 EST
Hi Stefan,
On Tue, 7 Apr 2026 at 02:26, Stefan Pedratscher
<pedratscher.stefan@xxxxxxxxx> wrote:
>
> 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.
Build, boot and poked around in /sys/bus/zorro tested on my Amiga
4000. Amiga is still in one piece so:
Tested-by: Daniel Palmer <daniel@xxxxxxxxx>