Re: [v5] misc: pci_endpoint_test: Fix overflow of bar_size

Hans Zhang
2025-01-04T14:26:16Z

On 2025/1/4 06:02, Bjorn Helgaas wrote:
>> The return value of the `pci_resource_len` interface is not an integer.
>> Using `pcitest` with an 8GB BAR2, the bar_size of integer type will
>> overflow.
>> Change the data type of bar_size from integer to resource_size_t, to fix
>> the above issue.
>
> Add blank lines between paragraphs.
>
> Looks good to me.
>

Thank you Bjorn.

Regards
Hans