Skip to content
Commit 075c7c04 authored by Yang Yingliang's avatar Yang Yingliang Committed by Suzuki K Poulose
Browse files

coresight: ultrasoc-smb: fix return value check in smb_init_data_buffer()



platform_get_resource() returns NULL pointer not PTR_ERR(), replace
the IS_ERR() check with NULL pointer check.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230118074920.1772141-1-yangyingliang@huawei.com
parent 2d4103ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment