Skip to content

Commit

Permalink
lmb: Fix compile warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kumar Gala committed May 19, 2008
1 parent b8291ad commit f9ebcd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f9ebcd9

Please sign in to comment.