Re: [PATCH] hvmloader: tidy pci_mem_{start,end}

2021-12-16 Thread Andrew Cooper
On 14/12/2021 08:24, Jan Beulich wrote: > For one at least pci_mem_start has to be precisely 32 bits wide, so use > uint32_t for both. Otherwise expressions like "pci_mem_start <<= 1" > won't have the intended effect (in their context). > > Further since its introduction pci_mem_end was never writt

[PATCH] hvmloader: tidy pci_mem_{start,end}

2021-12-14 Thread Jan Beulich
For one at least pci_mem_start has to be precisely 32 bits wide, so use uint32_t for both. Otherwise expressions like "pci_mem_start <<= 1" won't have the intended effect (in their context). Further since its introduction pci_mem_end was never written to. Mark it const to make this explicit. Fina