]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rbtree test: fix sparse warning about 64-bit constant
authorMichel Lespinasse <walken@google.com>
Fri, 21 Sep 2012 00:57:37 +0000 (10:57 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 08:46:13 +0000 (18:46 +1000)
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>
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();