[PATCH RESEND v2 11/51] sparc: led: consume the whole write

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Nov 5 11:29:09 PST 2026


> led_proc_write() looks at the first eight bytes of a write and returns
> that many, so a writer that loops until everything is written, stdio
> does, sends the rest as a second command. That one is unknown and
> switches the LED off. Return the whole count, the rest is ignored.
> 
> Fixes: ee1858d3122d ("[SPARC]: Add sun4m LED driver.")
> 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/20261104-work-procfs-bugfixes-v2-0-021c84d852e0@kernel.org?part=11




More information about the kexec mailing list