rbtree test: fix sparse warning about 64-bit constant
authorMichel Lespinasse <[email protected]>
Mon, 8 Oct 2012 23:31:04 +0000 (16:31 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 Oct 2012 07:22:36 +0000 (16:22 +0900)
Just a small fix to make sparse happy.

Signed-off-by: Michel Lespinasse <[email protected]>
Reported-by: Fengguang Wu <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/rbtree_test.c

index 19dfca9ff7d7d4b857fbbcf1739f4daa7a3b89fa..fd09465d82ca61e0e73c8b8eb10f085f372f0d1f 100644 (file)
@@ -88,7 +88,7 @@ static int rbtree_test_init(void)
 
        printk(KERN_ALERT "rbtree testing");
 
-       prandom32_seed(&rnd, 3141592653589793238);
+       prandom32_seed(&rnd, 3141592653589793238ULL);
        init();
 
        time1 = get_cycles();