drm/mm: fixup typo in debug functions.
authorDave Airlie <airlied@redhat.com>
Fri, 4 Dec 2009 00:18:02 +0000 (10:18 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Dec 2009 00:18:02 +0000 (10:18 +1000)
Free and used were reversed.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_mm.c

index c861d80..59cebd7 100644 (file)
@@ -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);