aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorChaitanya Kulkarni <[email protected]>2020-05-04 01:56:46 -0700
committerJens Axboe <[email protected]>2020-05-09 16:18:36 -0600
commit87628e2851008d5b0e53859f6062988c6d66d7f5 (patch)
treef12e113ffdfb6398bcdeac04bdb6afc6aa708a4a /include/linux/fpga/fpga-bridge.h
parent84b8d0d7aa159652dc191d58c4d353b6c9173c54 (diff)
nvmet: use type-name map for address treq
Currently nvmet_addr_treq_[store|show]() uses switch and if else ladder for address transport requirements to string and reverse mapping. With addtion of the generic nvmet_type_name_map structure we can get rid of the switch and if else ladder with string duplication. Signed-off-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions