rbtree test: fix sparse warning about 64-bit constant
authorMichel Lespinasse <walken@google.com>
Mon, 8 Oct 2012 23:31:04 +0000 (16:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 07:22:36 +0000 (16:22 +0900)
Just a small fix to make sparse happy.

Signed-off-by: Michel Lespinasse <walken@google.com>
Reported-by: Fengguang Wu <wfg@linux.intel.com>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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();