From: Dave Airlie Date: Fri, 4 Dec 2009 00:18:02 +0000 (+1000) Subject: drm/mm: fixup typo in debug functions. X-Git-Tag: MMI-PSA29.97-13-9~25013^2~87^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=01d01ba947670cf58f22119fc126fdf39078f6ba;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/mm: fixup typo in debug functions. Free and used were reversed. Signed-off-by: Dave Airlie --- 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) 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);