Skip to content

Commit

Permalink
rbtree test: fix sparse warning about 64-bit constant
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michel Lespinasse authored and Linus Torvalds committed Oct 9, 2012
1 parent 59633ab commit 28d7530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbtree_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 28d7530

Please sign in to comment.