summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>2025-09-03 13:51:51 +0300
committerRob Clark <robin.clark@oss.qualcomm.com>2025-09-08 07:24:58 -0700
commit618c11ea0b4a7c42eee9e5699d074c79be104f60 (patch)
tree1257dede36fd116ae3d6438efb71e64b61e55470 /rust/helpers/build_bug.c
parentc94fc6d35685587aa0cb9a8d7d7062c73ab04d89 (diff)
drm/msm: don't return NULL from msm_iommu_new()
As we've dropped no-IOMMU support, there is no reason to specially handle the no-IOMMU case inside msm_iommu_new(). Make it return -ENODEV if there is no IOMMU (instead of returning NULL) and simplify all calling sites accordingly. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/672561/ Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions