diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-05-06 23:47:53 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-05-09 09:14:45 +1000 |
commit | 2bbd4492552867053b5a618a2474297e2b1c355d (patch) | |
tree | 13f6e611009a3175af2aeebecb5a1d65cf3cd205 /include/drm | |
parent | ff68146acb98b689947692bffd38ec4ad67eb1cb (diff) | |
download | kernel_samsung_aries-2bbd4492552867053b5a618a2474297e2b1c355d.zip kernel_samsung_aries-2bbd4492552867053b5a618a2474297e2b1c355d.tar.gz kernel_samsung_aries-2bbd4492552867053b5a618a2474297e2b1c355d.tar.bz2 |
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>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h index c2f93a8..564b14a 100644 --- a/include/drm/drm_mm.h +++ b/include/drm/drm_mm.h @@ -86,7 +86,7 @@ static inline bool drm_mm_initialized(struct drm_mm *mm) } #define drm_mm_for_each_node(entry, mm) list_for_each_entry(entry, \ &(mm)->head_node.node_list, \ - node_list); + node_list) #define drm_mm_for_each_scanned_node_reverse(entry, n, mm) \ for (entry = (mm)->prev_scanned_node, \ next = entry ? list_entry(entry->node_list.next, \ |