diff options
| author | Dan Carpenter <[email protected]> | 2024-09-11 07:39:59 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2024-09-12 11:49:33 +0000 |
| commit | 2e091a805febb9a91cc7de2735d8d4ef0e640241 (patch) | |
| tree | 90703f02bc3967a34f55ca34c0ca6db5202639eb /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | perf: arm_pmuv3: Use BR_RETIRED for HW branch event if enabled (diff) | |
| download | kernel-2e091a805febb9a91cc7de2735d8d4ef0e640241.tar.gz kernel-2e091a805febb9a91cc7de2735d8d4ef0e640241.zip | |
perf: arm-ni: Fix an NULL vs IS_ERR() bug
The devm_ioremap() function never returns error pointers, it returns a
NULL pointer if there is an error.
Fixes: 4d5a7680f2b4 ("perf: Add driver for Arm NI-700 interconnect PMU")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
