aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-12-03 19:18:02 -0500
committerDave Airlie <airlied@redhat.com>2009-12-03 19:18:02 -0500
commit01d01ba947670cf58f22119fc126fdf39078f6ba (patch)
tree996ce63fe79c3f8deca2fd2a2d5b02e02d055aef /drivers
parent884840aa3ce3214259e69557be5b4ce0d781ffa4 (diff)
drm/mm: fixup typo in debug functions.
Free and used were reversed. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-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 c861d80fd779..59cebd7d3fc2 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)
386 else 386 else
387 total_used += entry->size; 387 total_used += entry->size;
388 } 388 }
389 seq_printf(m, "total: %d, used %d free %d\n", total, total_free, total_used); 389 seq_printf(m, "total: %d, used %d free %d\n", total, total_used, total_free);
390 return 0; 390 return 0;
391} 391}
392EXPORT_SYMBOL(drm_mm_dump_table); 392EXPORT_SYMBOL(drm_mm_dump_table);