Re: [PATCH 08/11] pci: Check region ranges are addressable

Bin Meng
2022-03-25T07:14:29Z

On Sun, Mar 20, 2022 at 7:42 PM Andrew Scull <ascull@google.com> wrote:
>
> When parsing the `ranges` DT node, check that both extremes of the
> regions are addressable without overflow. This assumption can then be
> safely made when processing the regions.
>
> Signed-off-by: Andrew Scull <ascull@google.com>
> ---
> drivers/pci/pci-uclass.c | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>