[lvc-project] [PATCH v3] PCI: dwc: al: Check IORESOURCE_BUS existence during PCIe config preparation
    Krzysztof Wilczyński 
    kw at linux.com
       
    Fri May 17 14:24:27 MSK 2024
    
    
  
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
    
    
More information about the lvc-project
mailing list