Skip to contentSkip to conversation

random: get rid of sparse warning

PATCH In review Stephen Hemminger 2 participants 2 messages Jan 9, 2006 Random number driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 random: get rid of sparse warning

Get rid of bogus extern attribute that causes sparse warning.

drivers/char/random.c +1 -1
@@ -632,7 +632,7 @@ out:
 	preempt_enable();
 }
 
-extern void add_input_randomness(unsigned int type, unsigned int code,
+void add_input_randomness(unsigned int type, unsigned int code,
 				 unsigned int value)
 {
 	static unsigned char last_value;