[PATCH RFC 10/38] scsi: BusLogic: don't return 0 from writes to the proc file

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 3 06:47:45 PST 2026


> A write to /proc/scsi/BusLogic/<n> resets the statistics and returns 0.
> Writers that use stdio, echo for example, take that as no progress and
> retry forever. Return the number of bytes that were written.
> 
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261102-work-procfs-bugfixes-v1-0-59422ed3e465@kernel.org?part=10




More information about the kexec mailing list