From: Andrew Morton Date: Fri, 21 Sep 2012 00:57:34 +0000 (+1000) Subject: rbtree-performance-and-correctness-test-fix X-Git-Tag: next-20120925~1^2~271 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=41a63a472e9b7e30a04fa1835c05858638c72d0b;p=karo-tx-linux.git rbtree-performance-and-correctness-test-fix fix printk warning: sparc64 cycles_t is unsigned long Cc: Michel Lespinasse Cc: Fengguang Wu Signed-off-by: Andrew Morton --- diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 4c6d2501389f..19dfca9ff7d7 100644 --- a/lib/rbtree_test.c +++ b/lib/rbtree_test.c @@ -104,7 +104,7 @@ static int rbtree_test_init(void) time = time2 - time1; time = div_u64(time, PERF_LOOPS); - printk(" -> %llu cycles\n", time); + printk(" -> %llu cycles\n", (unsigned long long)time); for (i = 0; i < CHECK_LOOPS; i++) { init();