lkml.org 
[lkml]   [2009]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDRM/ttm: Unreachable code in ttm_bo_add_ttm
Hi,

Stanse found unreachable code in ttm_bo_add_ttm:
http://decibel.fi.muni.cz/~xslaby/stanse/error.cgi?db=32&id=714#l238

Excerpt from there:
230| case ttm_bo_type_user:
231| bo->ttm = ttm_tt_create(bdev, bo->num_pages << 12,
232| page_flags | (1 << 1),
233| glob->dummy_read_page);
234| if (bo->ttm == ((void *)0))
235| ret = -12;
236| break;
237|
238| ret = ttm_tt_set_user(bo->ttm, get_current(),
|This node is unreachable prev next
239| bo->buffer_start, bo->num_pages);
240| if (ret != 0)
241| ttm_tt_destroy(bo->ttm);
242| break;


regards,
--
js


\
 
 \ /
  Last update: 2009-12-07 21:45    [W:0.030 / U:5.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site