diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-05-18 13:18:01 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-05-18 23:35:43 -0500 |
commit | f9ebcd9d410ba7209a8f321c41edf8615fc3ce67 (patch) | |
tree | 55441c92f2326c1ca9905a568859b166dd4949c5 | |
parent | b8291ad07a7f3b5b990900f0001198ac23ba893e (diff) | |
download | op-kernel-dev-f9ebcd9d410ba7209a8f321c41edf8615fc3ce67.zip op-kernel-dev-f9ebcd9d410ba7209a8f321c41edf8615fc3ce67.tar.gz |
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>
-rw-r--r-- | lib/lmb.c | 3 |
1 files changed, 2 insertions, 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); |