diff options
author | John Levon <john.levon@nutanix.com> | 2020-12-02 11:38:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 11:38:52 +0000 |
commit | 3e647c0d3b3506b8160b37748108ba3fbd7cb632 (patch) | |
tree | 939e1afeef3d5cb05942a8400a5eff716a7979a9 /lib/pci.c | |
parent | ddf444e8da02e0c8796944e2484cd0ca91a0105d (diff) | |
download | libvfio-user-3e647c0d3b3506b8160b37748108ba3fbd7cb632.zip libvfio-user-3e647c0d3b3506b8160b37748108ba3fbd7cb632.tar.gz libvfio-user-3e647c0d3b3506b8160b37748108ba3fbd7cb632.tar.bz2 |
rename VFU_REG_FLAG_* (#145)
We renamed other code to be "REGION" instead of "REG" so it's less ambiguous. Do
the same for VFU_REG_FLAG_*.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'lib/pci.c')
-rw-r--r-- | lib/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ vfu_pci_hdr_write_bar(vfu_ctx_t *vfu_ctx, uint16_t bar_index, const char *buf) cfg_addr = ~(reg_info[bar_index].size) + 1; } - if ((reg_info[bar_index].flags & VFU_REG_FLAG_MEM)) { + if ((reg_info[bar_index].flags & VFU_REGION_FLAG_MEM)) { mask = PCI_BASE_ADDRESS_MEM_MASK; } else { mask = PCI_BASE_ADDRESS_IO_MASK; |