Re: [PATCH] floppy: annotate data-races around command_status and floppy_work_fn
From: Cen Zhang
Date: Wed Mar 18 2026 - 00:06:11 EST
Hi Denis,
Thank you for the review.
> Please, inline a KCSAN report if you used it.
Done. I used our tools (a concurrency fuzzer) rather than KCSAN;
the relevant reports for all three annotated variables are now
inlined in the commit message.
> WRITE_ONCE(command_status, READ_ONCE(command_status) + 2); ?
>
> or with a temporary variable.
Good catch, fixed. The RHS now uses READ_ONCE() as well.
Best regards,
Cen