aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-12-04 10:18:02 +1000
committerDave Airlie <airlied@redhat.com>2009-12-04 10:18:02 +1000
commit01d01ba947670cf58f22119fc126fdf39078f6ba (patch)
tree996ce63fe79c3f8deca2fd2a2d5b02e02d055aef
parent884840aa3ce3214259e69557be5b4ce0d781ffa4 (diff)
drm/mm: fixup typo in debug functions.
Free and used were reversed. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/drm_mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index c861d80fd77..59cebd7d3fc 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/drivers/gpu/drm/drm_mm.c
@@ -386,7 +386,7 @@ int drm_mm_dump_table(struct seq_file *m, struct drm_mm *mm)
else
total_used += entry->size;
}
- seq_printf(m, "total: %d, used %d free %d\n", total, total_free, total_used);
+ seq_printf(m, "total: %d, used %d free %d\n", total, total_used, total_free);
return 0;
}
EXPORT_SYMBOL(drm_mm_dump_table);