Re: [PATCH v2 15/18] pci: Update dm_pci_bus_to_virt() parameters

2022-04-13 Thread Bin Meng
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote: > > Add mask parameter and reorder length parameter to match the other PCI > address conversion functions. Using PCI_REGION_TYPE as the mask gives > the old behaviour. > > It's converted from a macro to an inline function as the length > paramet

[PATCH v2 15/18] pci: Update dm_pci_bus_to_virt() parameters

2022-03-29 Thread Andrew Scull
Add mask parameter and reorder length parameter to match the other PCI address conversion functions. Using PCI_REGION_TYPE as the mask gives the old behaviour. It's converted from a macro to an inline function as the length parameter is now used twice, but should only be calculated once. Signed-o