floppy: cleanup: expand the reply_buffer macros
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Feb 2020 21:23:52 +0000 (22:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Mar 2020 14:26:58 +0000 (08:26 -0600)
commit8fb3845023e9f25d708c47dd50048a470884a946
treeb91b6d6174ac5502a3c4ddfcc68d17e7d92c89d6
parent76dabe79605bebce6f34ca65c0e42e411e4ccb7b
floppy: cleanup: expand the reply_buffer macros

Several macros were used to access reply_buffer[] at discrete positions
without making it obvious they were relying on this. These ones have
been replaced by their offset in the reply buffer to make these accesses
more obvious.

Link: https://lore.kernel.org/r/20200224212352.8640-11-w@1wt.eu
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/floppy.c