Re: [PATCH v3] PCI: dwc: al: Check IORESOURCE_BUS existence during PCIe config preparation
From: Krzysztof Wilczyński
Date: Fri May 17 2024 - 07:24:39 EST
Hello,
> If IORESOURCE_BUS is not provided in Device Tree it will be fabricated
> in of_pci_parse_bus_range(). So NULL pointer dereference will not occur.
> But other drivers do this check. So it can be added for code consistency.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
Applied to controller/al, thank you!
[1/1] PCI: dwc: al: Check IORESOURCE_BUS existence during PCIe config preparation
https://git.kernel.org/pci/pci/c/d4f21f188682
Krzysztof