diff options
| author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-01-05 11:43:14 +0200 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-03 17:36:41 +0200 |
| commit | 579ef2541b9d3734979628ba81f8822902d2e508 (patch) | |
| tree | e16b7f2ea09a5972e56567ca9253640b5fb845ed /scripts/gdb/linux/tasks.py | |
| parent | 5bcbab176655f9a8fd6179986648cc45864a1604 (diff) | |
drm/omap: use dma_mapping_error in omap_gem_attach_pages
omap_gem_attach_pages() calls dma_map_page() but does not check the
possible error with dma_mapping_error(). If DMA-API debugging is
enabled, the debug layer will give a warning if dma_mapping_error() has
not been used.
This patch adds proper error handling to omap_gem_attach_pages().
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
