]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rbtree test: fix sparse warning about 64-bit constant
authorMichel Lespinasse <walken@google.com>
Wed, 26 Sep 2012 01:33:34 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:26:17 +0000 (17:26 +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();