drm: mm: fix debug output
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 6 May 2011 21:47:53 +0000 (23:47 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 8 May 2011 23:14:45 +0000 (09:14 +1000)
commit2bbd4492552867053b5a618a2474297e2b1c355d
tree13f6e611009a3175af2aeebecb5a1d65cf3cd205
parentff68146acb98b689947692bffd38ec4ad67eb1cb
drm: mm: fix debug output

The looping helper didn't do anything due to a superficial
semicolon. Furthermore one of the two dump functions suffered
from copy&paste fail.

While staring at the code I've also noticed that the replace
helper (currently unused) is a bit broken.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_mm.c
include/drm/drm_mm.h