diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-15 13:41:53 +0300 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-01-15 21:16:59 +0300 |
| commit | 2f7aacf795e0192648b51674aef90e755e02408c (patch) | |
| tree | a60e4aedc5329ddb4e40a7b80fb512c59d88a84a /scripts/patch-kernel | |
| parent | a22fde8e979494f326e88ef0728367e009260d75 (diff) | |
| download | linux-2f7aacf795e0192648b51674aef90e755e02408c.tar.xz | |
firmware: arm_sdei: Fix return value check in sdei_present_dt()
In case of error, the function of_platform_device_create() returns
NULL pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.
Fixes: 677a60bd2003 ("firmware: arm_sdei: Discover SDEI support via ACPI")
Acked-by: James Morse <james.morse@arm.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
