diff options
author | Dan Carpenter <[email protected]> | 2024-09-13 17:34:54 +0300 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2024-10-24 18:50:04 +0200 |
commit | a85df8c7b5ee2d3d4823befada42c5c41aff4cb0 (patch) | |
tree | 9d2c9ebddfc8fca26e80c2018e02c76f2e505096 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5c23878252515b8d2b86839bd4cb7dea7088aacd (diff) |
drm/tegra: Fix NULL vs IS_ERR() check in probe()
The iommu_paging_domain_alloc() function doesn't return NULL pointers,
it returns error pointers. Update the check to match.
Fixes: 45c690aea8ee ("drm/tegra: Use iommu_paging_domain_alloc()")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions