Message ID | 20130519172201.GS18614@n2100.arm.linux.org.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index db1e2d6..7241be8 100644 --- a/drivers/gpu/drm/drm_mm.c +++ b/drivers/gpu/drm/drm_mm.c @@ -125,6 +125,7 @@ static void drm_mm_insert_helper(struct drm_mm_node *hole_node, } if (adj_start == hole_start) { + BUG_ON(hole_node == &mm->head_node); hole_node->hole_follows = 0; list_del(&hole_node->hole_stack); }