c12b14889e
When reading bus and segment values using SPDRP_BUSNUMBER bits 24-31 are undefined. They are cleared to verify we read the segment number correctly. Fixes: c3adf8144a17 ("bus/pci: support segment as address domain on Windows") Cc: stable@dpdk.org Signed-off-by: Tal Shnaiderman <talshn@nvidia.com> Acked-by: Ranjit Menon <ranjit.menon@intel.com> Acked-by: Narcisa Vasile <navasile@linux.microsoft.com>