On Fri, Apr 22, 2022 at 12:11 AM Andrew Scull <asc...@google.com> 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
> parameter is now used twice, but should only be calculated once.
>
> Signed-off-by: Andrew Scull <asc...@google.com>
> ---
>  drivers/bios_emulator/atibios.c |  4 ++--
>  drivers/pci/pci-uclass.c        |  4 ++--
>  include/pci.h                   | 16 +++++++++++-----
>  3 files changed, 15 insertions(+), 9 deletions(-)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Reply via email to