projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92485ce
)
drm/nouveau: warn when trying to free mm which is still in use
author
Marcin Slusarz
<marcin.slusarz@gmail.com>
Sun, 21 Oct 2012 22:21:39 +0000
(
00:21
+0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 22 Oct 2012 02:26:34 +0000
(12:26 +1000)
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/core/mm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/core/mm.c
b/drivers/gpu/drm/nouveau/core/core/mm.c
index bfddf87926dd8857a73df69cb26757836bd02f1f..4d6206448670154deaeed940e0eb44993024fea9 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/core/mm.c
+++ b/
drivers/gpu/drm/nouveau/core/core/mm.c
@@
-236,7
+236,7
@@
nouveau_mm_fini(struct nouveau_mm *mm)
int nodes = 0;
list_for_each_entry(node, &mm->nodes, nl_entry) {
- if (
nodes++ == mm->heap_nodes
)
+ if (
WARN_ON(nodes++ == mm->heap_nodes)
)
return -EBUSY;
}