Re: [PATCH] floppy: annotate data-races around command_status and floppy_work_fn

Cen Zhang
2026-03-18T04:05:37Z

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