diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-22 10:40:52 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-20 11:12:57 +0200 |
commit | e0c7a510aea75db4927d810fb0a84233641b53c3 (patch) | |
tree | 2ca46b813bc2455fe4826a8441a7d24df7a44c9c /drivers/gpu/drm/armada/armada_gem.c | |
parent | e4734b3f5ffc42d821a316383222d71dce7d5c9e (diff) |
drm/exynos: don't use DMA_ERROR_CODE
DMA_ERROR_CODE already isn't a valid API to user for drivers and will
go away soon. exynos_drm_fb_dma_addr uses it a an error return when
the passed in index is invalid, but the callers never check for it
but instead pass the address straight to the hardware.
Add a WARN_ON instead and just return 0.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_gem.c')
0 files changed, 0 insertions, 0 deletions