Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH v3 1/9] rbtree test: fix sparse warning about 64-bit constant

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


walken at google

Aug 20, 2012, 3:05 PM

Post #1 of 1 (29 views)
Permalink
[PATCH v3 1/9] rbtree test: fix sparse warning about 64-bit constant

Just a small fix to make sparse happy.

Signed-off-by: Michel Lespinasse <walken [at] google>
Reported-by: Fengguang Wu <wfg [at] linux>
Acked-by: Rik van Riel <riel [at] redhat>

---
lib/rbtree_test.c | 2 +-
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();
--
1.7.7.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.