From: Jiri Slaby <jirislaby@gmail.com>
To: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Dave Airlie <airlied@redhat.com>,
dri-devel@lists.sourceforge.net,
LKML <linux-kernel@vger.kernel.org>
Subject: DRM/ttm: Unreachable code in ttm_bo_add_ttm
Date: Mon, 07 Dec 2009 21:42:21 +0100 [thread overview]
Message-ID: <4B1D68AD.2090409@gmail.com> (raw)
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
next reply other threads:[~2009-12-07 20:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-07 20:42 Jiri Slaby [this message]
2009-12-07 23:28 ` DRM/ttm: Unreachable code in ttm_bo_add_ttm Dave Airlie
2009-12-08 10:35 ` Jiri Slaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B1D68AD.2090409@gmail.com \
--to=jirislaby@gmail.com \
--cc=airlied@redhat.com \
--cc=dri-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=thellstrom@vmware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox