random: get rid of sparse warning
PATCH 1/1 random: get rid of sparse warning
Get rid of bogus extern attribute that causes sparse warning.
Signed-off-by Stephen Hemminger <[email protected]>
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;
Quoted 3 lines · Stephen Hemminger
Get rid of bogus extern attribute that causes sparse warning.
Signed-off-by Stephen Hemminger <[email protected]>
Death to extern!
Acked-by Matt Mackall <[email protected]>
Signature · 1 line
Mathematics is the supreme nostalgia of our time.