From: Dave Airlie Date: Fri, 4 Dec 2009 00:18:02 +0000 (+1000) Subject: drm/mm: fixup typo in debug functions. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=01d01ba947670cf58f22119fc126fdf39078f6ba;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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);