lkml.org 
[lkml]   [2024]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] PCI: dwc: al: Check IORESOURCE_BUS existence during PCIe config preparation
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

\
 
 \ /
  Last update: 2024-05-27 18:30    [W:0.216 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site