diff options
| author | Frank Li <Frank.Li@nxp.com> | 2025-10-15 11:27:28 -0400 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2025-10-27 19:53:53 +0530 |
| commit | 483768846d66c04354898f00bcdaad58a3763be2 (patch) | |
| tree | 9c97c394147760453fbb6f9818975fb39db4993a /include/linux | |
| parent | 25423cda145f9ed6ee4a72d9f2603ac2a4685e74 (diff) | |
PCI: endpoint: Rename 'epf_bar::aligned_size' to 'epf_bar:mem_size'
Rename the member 'epf_bar::aligned_size' to 'epf_bar::mem_size' to better
reflect its purpose. 'aligned_size' was misleading, as it actually
represents the backing memory size allocated for the BAR rather than the
aligned size.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://patch.msgid.link/20251015-vntb_msi_doorbell-v6-1-9230298b1910@nxp.com
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci-epf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/pci-epf.h b/include/linux/pci-epf.h index 2e85504ba2ba..4022dd080e20 100644 --- a/include/linux/pci-epf.h +++ b/include/linux/pci-epf.h @@ -115,8 +115,8 @@ struct pci_epf_driver { * @phys_addr: physical address that should be mapped to the BAR * @addr: virtual address corresponding to the @phys_addr * @size: the size of the address space present in BAR - * @aligned_size: the size actually allocated to accommodate the iATU alignment - * requirement + * @mem_size: the size actually allocated to accommodate the iATU alignment + * requirement * @barno: BAR number * @flags: flags that are set for the BAR */ @@ -124,7 +124,7 @@ struct pci_epf_bar { dma_addr_t phys_addr; void *addr; size_t size; - size_t aligned_size; + size_t mem_size; enum pci_barno barno; int flags; }; |
