Commit 71ec9094 authored by Jakub Wilk's avatar Jakub Wilk Committed by Alex Deucher

drm/ttm: Fix spelling of "KiB"

The symbol for binary prefix kibi is "Ki", with uppercase K.
(In contrast, the symbol for decimal kilo is lowercase "k".)
Signed-off-by: default avatarJakub Wilk <jwilk@jwilk.net>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2a782140
...@@ -81,7 +81,7 @@ static void ttm_mem_zone_kobj_release(struct kobject *kobj) ...@@ -81,7 +81,7 @@ static void ttm_mem_zone_kobj_release(struct kobject *kobj)
struct ttm_mem_zone *zone = struct ttm_mem_zone *zone =
container_of(kobj, struct ttm_mem_zone, kobj); container_of(kobj, struct ttm_mem_zone, kobj);
pr_info("Zone %7s: Used memory at exit: %llu kiB\n", pr_info("Zone %7s: Used memory at exit: %llu KiB\n",
zone->name, (unsigned long long)zone->used_mem >> 10); zone->name, (unsigned long long)zone->used_mem >> 10);
kfree(zone); kfree(zone);
} }
...@@ -448,7 +448,7 @@ int ttm_mem_global_init(struct ttm_mem_global *glob) ...@@ -448,7 +448,7 @@ int ttm_mem_global_init(struct ttm_mem_global *glob)
#endif #endif
for (i = 0; i < glob->num_zones; ++i) { for (i = 0; i < glob->num_zones; ++i) {
zone = glob->zones[i]; zone = glob->zones[i];
pr_info("Zone %7s: Available graphics memory: %llu kiB\n", pr_info("Zone %7s: Available graphics memory: %llu KiB\n",
zone->name, (unsigned long long)zone->max_mem >> 10); zone->name, (unsigned long long)zone->max_mem >> 10);
} }
ttm_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE)); ttm_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment