]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rbtree test: fix sparse warning about 64-bit constant
authorMichel Lespinasse <walken@google.com>
Thu, 13 Sep 2012 00:58:50 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 10:45:57 +0000 (20:45 +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();