drm/ttm: Fix comment about return value of ttm_tt_init
Subsystems (2)
PATCH 1/1 drm/ttm: Fix comment about return value of ttm_tt_init
ttm_tt_init returns -ENOMEM when out of memory.
Signed-off-by Kenjiro Nakayama <[email protected]>
--- include/drm/ttm/ttm_tt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/ttm/ttm_tt.h +1 -1
@@ -145,7 +145,7 @@ int ttm_tt_create(struct ttm_buffer_object *bo, bool zero_alloc);* Create a struct ttm_tt to back data with system memory pages. * No pages are actually allocated. * Returns: -* NULL: Out of memory. +* -ENOMEM: Out of memory. */ int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, uint32_t page_flags, enum ttm_caching caching,
Signature · 1 line
2.41.0