Re: [PATCH v3 0/4] floppy: suppress UBSAN warning in setup_rw_floppy()

From: Denis Efremov
Date: Wed May 06 2020 - 03:33:27 EST


On 5/1/20 4:44 PM, Denis Efremov wrote
>
> The first patch removes pr_cont() in setup_DMA() and prints the contents of
> cmd buffer with print_hex_dump(). The last patch also touches these lines
> and changes cmd buffer to fullcmd. The 2,3 patches introduce defines to
> make it more clear why cmd_count in struct floppy_raw_cmd allows
> out-of-bounds access for cmd, reply_count, reply fields. Last patch
> handles the warning.

Applied,

https://github.com/evdenis/linux-floppy/tree/cleanups

Denis