summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Lespinasse <walken@google.com>2012-10-09 01:31:04 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-09 09:22:36 +0200
commit28d7530928d01638678f63c3c70113540b0e6abe (patch)
tree24360edfdb268991264c9722bc232c0e8dd2612b
parentrbtree: optimize fetching of sibling node (diff)
downloadlinux-28d7530928d01638678f63c3c70113540b0e6abe.tar.xz
linux-28d7530928d01638678f63c3c70113540b0e6abe.zip
rbtree test: fix sparse warning about 64-bit constant
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>
-rw-r--r--lib/rbtree_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c
index 19dfca9ff7d7..fd09465d82ca 100644
--- a/lib/rbtree_test.c
+++ b/lib/rbtree_test.c
@@ -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();