diff options
| author | Philippe Mathieu-Daudé | 2020-12-02 14:20:38 +0100 |
|---|---|---|
| committer | Laurent Vivier | 2020-12-13 17:07:05 +0100 |
| commit | f6a3c86ebd39aaedf1ebf89629ec91b5d44b670d (patch) | |
| tree | 42943407aac4211bba2b77122f460edc30a0794d /scripts/hxtool | |
| parent | hw/xen: Don't use '#' flag of printf format (diff) | |
| download | qemu-f6a3c86ebd39aaedf1ebf89629ec91b5d44b670d.tar.gz qemu-f6a3c86ebd39aaedf1ebf89629ec91b5d44b670d.tar.xz qemu-f6a3c86ebd39aaedf1ebf89629ec91b5d44b670d.zip | |
hw/pci-host/pam: Replace magic number by PAM_REGIONS_COUNT definition
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é <philmd@redhat.com>
Reviewed-by: Julia Suvorova <jusual@redhat.com>
Message-Id: <20201202132038.1276404-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts/hxtool')
0 files changed, 0 insertions, 0 deletions
