mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
lmb: Fix compile warning
lib/lmb.c: In function 'lmb_dump_all': lib/lmb.c:51: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'u64' Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
b8291ad07a
commit
f9ebcd9d41
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ void lmb_dump_all(void)
|
|||
}
|
||||
|
||||
pr_info(" reserved.cnt = 0x%lx\n", lmb.reserved.cnt);
|
||||
pr_info(" reserved.size = 0x%lx\n", lmb.reserved.size);
|
||||
pr_info(" reserved.size = 0x%llx\n",
|
||||
(unsigned long long)lmb.memory.size);
|
||||
for (i=0; i < lmb.reserved.cnt ;i++) {
|
||||
pr_info(" reserved.region[0x%lx].base = 0x%llx\n",
|
||||
i, (unsigned long long)lmb.reserved.region[i].base);
|
||||
|
|
Loading…
Reference in a new issue