
18 Jan
2021
18 Jan
'21
2:27 p.m.
On 18.01.21 12:30, Pali Rohár wrote:
Function dm_pci_map_bar() may fail and returns NULL. Check this to prevent dereferencing a NULL pointer.
In xhci-pci this may happen when board does not enable CONFIG_PCI_PNP and PCI_BASE_ADDRESS_0 contains unconfigured zero address.
Signed-off-by: Pali Rohár pali@kernel.org
Reviewed-by: Stefan Roese sr@denx.de
Thanks, Stefan