1
0
Fork 0
remarkable-linux/drivers/gpu/drm/ttm
Prarit Bhargava bcf73a1083 drm, ttm Fix uninitialized warning
Fix uninitialized warning.

drivers/gpu/drm/ttm/ttm_object.c: In function ‘ttm_base_object_lookup’:
drivers/gpu/drm/ttm/ttm_object.c:213:10: error: ‘base’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  kref_put(&base->refcount, ttm_release_base);
          ^
drivers/gpu/drm/ttm/ttm_object.c:221:26: note: ‘base’ was declared here
  struct ttm_base_object *base;

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-09-19 11:51:51 +10:00
..
Makefile drm/ttm: provide dma aware ttm page pool code V9 2011-12-06 10:39:33 +00:00
ttm_agp_backend.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
ttm_bo.c drm/ttm: inline drm_bo_setup_vm() 2013-08-07 18:08:05 +10:00
ttm_bo_manager.c drm/ttm: replace drm_mm_pre_get() by direct alloc 2013-08-07 10:15:29 +10:00
ttm_bo_util.c drm/ttm: convert to unified vma offset manager 2013-07-25 20:47:07 +10:00
ttm_bo_vm.c drm/ttm: kill unused functions 2013-08-19 09:36:12 +10:00
ttm_execbuf_util.c drm/ttm: inline ttm_bo_reserve and related calls 2013-06-28 12:04:09 +10:00
ttm_lock.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
ttm_memory.c drm/ttm: remove ttm_mem_global->queue 2012-11-20 16:06:22 +10:00
ttm_module.c UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ 2012-10-02 18:01:07 +01:00
ttm_object.c drm, ttm Fix uninitialized warning 2013-09-19 11:51:51 +10:00
ttm_page_alloc.c ttm: Clear the ttm page allocated from high memory zone correctly 2012-11-16 09:56:35 +10:00
ttm_page_alloc_dma.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2012-10-03 23:29:23 -07:00
ttm_tt.c drm/ttm: fix the tt_populated check in ttm_tt_destroy() 2013-09-19 11:48:30 +10:00