linux/drivers/hwtracing
Yang Yingliang c88a15d9dd coresight: tpda: fix return value check in tpda_probe()
devm_ioremap_resource() never returns NULL pointer, it
will return ERR_PTR() when it fails, so replace the check
with IS_ERR().

Fixes: 5b7916625c ("Coresight: Add TPDA link driver")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
[ Fix return value to the PTR_ERR(base) ]
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230129084246.537694-1-yangyingliang@huawei.com
2023-01-30 09:42:35 +00:00
..
coresight coresight: tpda: fix return value check in tpda_probe() 2023-01-30 09:42:35 +00:00
intel_th intel_th: pci: Add Raptor Lake-S CPU support 2022-07-08 15:43:15 +02:00
ptt hwtracing: hisi_ptt: Only add the supported devices to the filters list 2023-01-19 10:06:35 +00:00
stm stm class: Use correct UUID APIs 2021-04-16 07:26:50 +02:00
Kconfig hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device 2022-09-08 16:26:17 -06:00