diff options
| author | Dan Carpenter <[email protected]> | 2025-03-14 10:55:10 +0000 |
|---|---|---|
| committer | Suzuki K Poulose <[email protected]> | 2025-03-14 12:43:53 +0000 |
| commit | 5442d22da7dbff3ba8c6720fc6f23ea4934d402d (patch) | |
| tree | c99bb42ee42e053f9da855370e659bef19214bb6 /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | coresight: configfs: Constify struct config_item_type (diff) | |
| download | kernel-5442d22da7dbff3ba8c6720fc6f23ea4934d402d.tar.gz kernel-5442d22da7dbff3ba8c6720fc6f23ea4934d402d.zip | |
Coresight: Fix a NULL vs IS_ERR() bug in probe
The devm_platform_get_and_ioremap_resource() function doesn't
return NULL, it returns error pointers. Update the checking to
match.
Fixes: f78d206f3d73 ("Coresight: Add Coresight TMC Control Unit driver")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
