Skip to contentSkip to conversation

random whitespace doh

PATCH New Matt Mackall 1 participant 1 message Jan 13, 2005 Random number driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 random whitespace doh

Someone actually spotted this already.

drivers/char/random.c +1 -1
Index: rnd/drivers/char/random.c
===================================================================
@@ -2368,7 +2368,7 @@
 	cookie -= tmp[17] + sseq;
 	/* Cookie is now reduced to (count * 2^24) ^ (hash % 2^24) */
 
-	diff = (count - (cookie >> COOKIEBITS)) & ((__u32) - 1 >> COOKIEBITS);
+	diff = (count - (cookie >> COOKIEBITS)) & ((__u32)-1 >> COOKIEBITS);
 	if (diff >= maxdiff)
 		return (__u32)-1;
 
Signature · 1 line
Mathematics is the supreme nostalgia of our time.