diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-03 08:33:35 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-01-03 12:31:53 +0100 |
commit | c68febfd68e0f01d90da15bd10e94b42544f0f68 (patch) | |
tree | bf63f5cfacbafdc8a5a7e79bfd6ac516db1fa345 /include/acpi/hed.h | |
parent | PCI: exynos: Remove deprecated PHY initialization code (diff) | |
download | linux-c68febfd68e0f01d90da15bd10e94b42544f0f68.tar.xz linux-c68febfd68e0f01d90da15bd10e94b42544f0f68.zip |
PCI: dwc: artpec6: Fix return value check in artpec6_add_pcie_ep()
In case of error, the function devm_ioremap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'include/acpi/hed.h')
0 files changed, 0 insertions, 0 deletions