diff options
author | Gerd Bayer <gbayer@linux.ibm.com> | 2024-06-19 14:58:45 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2024-06-21 21:47:01 +0300 |
commit | 186bfe44ea41fb38c7a69becd7078724d28cd03c (patch) | |
tree | 316855475d1cc5cf1be2cbcfef9de338cfaf7ac4 /rust/helpers/build_bug.c | |
parent | 6ba59ff4227927d3a8530fc2973b80e94b54d58f (diff) | |
download | linux-186bfe44ea41fb38c7a69becd7078724d28cd03c.tar.xz |
vfio/pci: Extract duplicated code into macro
vfio_pci_core_do_io_rw() repeats the same code for multiple access
widths. Factor this out into a macro
Suggested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
Link: https://lore.kernel.org/r/20240619115847.1344875-2-gbayer@linux.ibm.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions