aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorDenis Efremov <[email protected]>2020-05-01 16:44:15 +0300
committerDenis Efremov <[email protected]>2020-05-12 19:34:56 +0300
commitbd10a5f3e21b1cb8e2133c1f08b3e8207cee12dd (patch)
treec19cc34c921125cf73d6e84b299e062decedb48a /include/linux/fpga/fpga-bridge.h
parent9c4c5a24c85585fb8904bd2872501cd8181b3854 (diff)
floppy: add defines for sizes of cmd & reply buffers of floppy_raw_cmd
Use FD_RAW_CMD_SIZE, FD_RAW_REPLY_SIZE defines instead of magic numbers for cmd & reply buffers of struct floppy_raw_cmd. Remove local to floppy.c MAX_REPLIES define, as it is now FD_RAW_REPLY_SIZE. FD_RAW_CMD_FULLSIZE added as we allow command to also fill reply_count and reply fields. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Denis Efremov <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions