Loading
soc: hisilicon: Add checks against NULL pointer reference
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBS9WQ CVE: NA ---------------------------------------------------------------------- The function of ACPI_COMPANION returns a NULL pointer when the device without an fwnode, so add checks for this to fix NULL pointer reference at ACPI_COMPANION. Fixes: efb5bc7b ("soc: hisilicon: Support memory repair driver on Kunpeng SoC") Signed-off-by:Junhao He <hejunhao3@huawei.com> Signed-off-by:
Qizhi Zhang <zhangqizhi3@h-partners.com>