aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-29 19:49:14 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-30 13:56:43 -0500
commit755cd90029b61b96816b8ac0ab6a33a197f842d0 (patch)
tree3f9dcc5727e78422330d64d22444d9ff9ea9bb0b /kernel/lockdep.c
parente2a5d2f9b3e6011093a7587e0e18d653fb050a36 (diff)
[PATCH] lockdep: printk warning fix
kernel/lockdep.c: In function `lookup_chain_cache': kernel/lockdep.c:1339: warning: long long unsigned int format, u64 arg (arg 2) kernel/lockdep.c:1344: warning: long long unsigned int format, u64 arg (arg 2) Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r--kernel/lockdep.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index 01e750559034..509efd49540f 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -1318,12 +1318,16 @@ static inline int lookup_chain_cache(u64 chain_key, struct lock_class *class)
1318cache_hit: 1318cache_hit:
1319 debug_atomic_inc(&chain_lookup_hits); 1319 debug_atomic_inc(&chain_lookup_hits);
1320 if (very_verbose(class)) 1320 if (very_verbose(class))
1321 printk("\nhash chain already cached, key: %016Lx tail class: [%p] %s\n", chain_key, class->key, class->name); 1321 printk("\nhash chain already cached, key: "
1322 "%016Lx tail class: [%p] %s\n",
1323 (unsigned long long)chain_key,
1324 class->key, class->name);
1322 return 0; 1325 return 0;
1323 } 1326 }
1324 } 1327 }
1325 if (very_verbose(class)) 1328 if (very_verbose(class))
1326 printk("\nnew hash chain, key: %016Lx tail class: [%p] %s\n", chain_key, class->key, class->name); 1329 printk("\nnew hash chain, key: %016Lx tail class: [%p] %s\n",
1330 (unsigned long long)chain_key, class->key, class->name);
1327 /* 1331 /*
1328 * Allocate a new chain entry from the static array, and add 1332 * Allocate a new chain entry from the static array, and add
1329 * it to the hash: 1333 * it to the hash: