If platform_get_resource_byname() fails and returns NULL because DT lacks
an 'mmio' property for the MHI endpoint, dereferencing res->start will
cause a NULL pointer access. Add a check to prevent it.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pci-epf-mhi.c | ||
pci-epf-ntb.c | ||
pci-epf-test.c | ||
pci-epf-vntb.c |