drm/mm: fixup typo in debug functions.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, December 10, 2009 - 11:59 pm

Gitweb:     http://git.kernel.org/linus/01d01ba947670cf58f22119fc126fdf39078f6ba
Commit:     01d01ba947670cf58f22119fc126fdf39078f6ba
Parent:     884840aa3ce3214259e69557be5b4ce0d781ffa4
Author:     Dave Airlie <airlied@redhat.com>
AuthorDate: Fri Dec 4 10:18:02 2009 +1000
Committer:  Dave Airlie <airlied@redhat.com>
CommitDate: Fri Dec 4 10:18:02 2009 +1000

    drm/mm: fixup typo in debug functions.
    
    Free and used were reversed.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 drivers/gpu/drm/drm_mm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index c861d80..59cebd7 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);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
drm/mm: fixup typo in debug functions., Linux Kernel Mailing ..., (Thu Dec 10, 11:59 pm)