1
0
Fork 0
alistair23-linux/drivers/gpu/drm/ttm
Xiongwei Song 19d859a720 drm/ttm: check the return value of kzalloc
In the function ttm_page_alloc_init, kzalloc call is made for variable
_manager, we need to check its return value, it may return NULL.

Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-01-02 14:54:05 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ttm_agp_backend.c drm/ttm: Remove TTM_HAS_AGP 2016-03-30 17:20:43 +02:00
ttm_bo.c drm/ttm: Always and only destroy bo->ttm_resv in ttm_bo_release_list 2017-11-04 09:48:01 -04:00
ttm_bo_manager.c drm/ttm: make ttm_mem_type_manager_func debug more useful 2017-08-17 15:45:59 -04:00
ttm_bo_util.c drm/ttm: once more fix ttm_buffer_object_transfer 2017-10-31 17:54:12 -04:00
ttm_bo_vm.c Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 12:21:28 -07:00
ttm_execbuf_util.c locking/atomic, kref: Kill kref_sub() 2017-01-14 11:37:19 +01:00
ttm_lock.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
ttm_memory.c drm/ttm: add support for different pool sizes 2017-10-06 17:44:16 -04:00
ttm_module.c drm/ttm: make device_released static 2014-07-22 12:59:32 +10:00
ttm_object.c drm/ttm: Avoid calling drm_ht_remove from atomic context 2017-03-30 11:43:40 +02:00
ttm_page_alloc.c drm/ttm: check the return value of kzalloc 2018-01-02 14:54:05 -05:00
ttm_page_alloc_dma.c drm/ttm: Downgrade pr_err to pr_debug for memory allocation failures 2017-11-04 09:48:28 -04:00
ttm_tt.c drm: drop drm_[cm]alloc* helpers 2017-05-18 17:22:39 +02:00