linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] random: get rid of sparse warning
@ 2006-01-09 19:15 Stephen Hemminger
  2006-01-09 19:17 ` Matt Mackall
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2006-01-09 19:15 UTC (permalink / raw)
  To: Matt Mackall; +Cc: linux-kernel

Get rid of bogus extern attribute that causes sparse warning.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>


--- linux-2.6.orig/drivers/char/random.c
+++ linux-2.6/drivers/char/random.c
@@ -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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] random: get rid of sparse warning
  2006-01-09 19:15 [PATCH] random: get rid of sparse warning Stephen Hemminger
@ 2006-01-09 19:17 ` Matt Mackall
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Mackall @ 2006-01-09 19:17 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: linux-kernel

On Mon, Jan 09, 2006 at 11:15:07AM -0800, Stephen Hemminger wrote:
> Get rid of bogus extern attribute that causes sparse warning.
> 
> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Death to extern!

Acked-by: Matt Mackall <mpm@selenic.com>

-- 
Mathematics is the supreme nostalgia of our time.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-09 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-09 19:15 [PATCH] random: get rid of sparse warning Stephen Hemminger
2006-01-09 19:17 ` Matt Mackall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).