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 c861d80fd779c68d6b4ce4af2c3b5191db8e3bbf..59cebd7d3fc28850f3ce5d9fda0b62bf7d411dd3 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);