mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +00:00
drm/mm: fixup typo in debug functions.
Free and used were reversed. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
884840aa3c
commit
01d01ba947
@ -386,7 +386,7 @@ int drm_mm_dump_table(struct seq_file *m, struct drm_mm *mm)
|
|||||||
else
|
else
|
||||||
total_used += entry->size;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(drm_mm_dump_table);
|
EXPORT_SYMBOL(drm_mm_dump_table);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user