On Wed, Dec 2, 2020 at 2:24 PM Philippe Mathieu-Daudé <phi...@redhat.com> wrote: > > While this change helps triskaidekaphobic developers, it > is a good practice to avoid magic values and using constant > definitions instead. > > Introduce the PAM_REGIONS_COUNT and use it. No logical change. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > include/hw/pci-host/i440fx.h | 2 +- > include/hw/pci-host/pam.h | 2 ++ > include/hw/pci-host/q35.h | 2 +- > hw/pci-host/pam.c | 2 +- > hw/pci-host/q35.c | 2 +- > 5 files changed, 6 insertions(+), 4 deletions(-)
:D Reviewed-by: Julia Suvorova <jus...@redhat.com>