diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-07-12 19:18:14 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-08-25 00:15:30 +0300 |
commit | 6b9376504cb486ffdf93ee1a98c5ce0d02699857 (patch) | |
tree | 39a6b04ea9fa2f74df8a99367ce72cb6cf579c05 /drivers/ipack/devices | |
parent | 705d4feeb269e22c4850ad66e2210b737b553236 (diff) | |
download | linux-6b9376504cb486ffdf93ee1a98c5ce0d02699857.tar.xz |
drm/i915: Silence __iomem sparse warn
We don't care about __iomem mismatch when dealing with error
pointers. Silence it with ERR_CAST().
drivers/gpu/drm/i915/display/intel_dpt.c:136:21: warning: incorrect type in assignment (different address spaces)
drivers/gpu/drm/i915/display/intel_dpt.c:136:21: expected struct i915_vma *[assigned] vma
drivers/gpu/drm/i915/display/intel_dpt.c:136:21: got void [noderef] __iomem *[assigned] iomem
v2: The code moved into intel_dpt.c
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210712161815.24776-1-ville.syrjala@linux.intel.com
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'drivers/ipack/devices')
0 files changed, 0 insertions, 0 deletions