netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 03/08] [TIPC]: Eliminate "sparse" warning in socket code
@ 2008-02-22 19:59 Stephens, Allan
  2008-02-22 20:04 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Stephens, Allan @ 2008-02-22 19:59 UTC (permalink / raw)
  To: netdev

This patch eliminates warnings about a pair of undeclared symbols.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
---
 net/tipc/socket.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/net/tipc/socket.c b/net/tipc/socket.c
index e5a6983..356a18c 100644
--- a/net/tipc/socket.c
+++ b/net/tipc/socket.c
@@ -81,6 +81,12 @@ static int sockets_enabled = 0;
 
 static atomic_t tipc_queue_size = ATOMIC_INIT(0);
 
+/*
+ * Declare public routines so "sparse" doesn't complain ...
+ */
+
+extern int  tipc_socket_init(void);
+extern void tipc_socket_stop(void);
 
 /*
  * sock_lock(): Lock a port/socket pair. lock_sock() can
-- 
1.5.3.2

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

* Re: [PATCH 03/08] [TIPC]: Eliminate "sparse" warning in socket code
  2008-02-22 19:59 [PATCH 03/08] [TIPC]: Eliminate "sparse" warning in socket code Stephens, Allan
@ 2008-02-22 20:04 ` Sam Ravnborg
  2008-02-22 20:10   ` Stephens, Allan
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2008-02-22 20:04 UTC (permalink / raw)
  To: Stephens, Allan; +Cc: netdev

On Fri, Feb 22, 2008 at 11:59:12AM -0800, Stephens, Allan wrote:
> This patch eliminates warnings about a pair of undeclared symbols.

Hi Allan.

Last I looked there where ~90 sparse warnings for tipc.
I assume you are aware and that they are getting fixed.

	Sam - who would like to see an almost sparse clean kernel

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

* RE: [PATCH 03/08] [TIPC]: Eliminate "sparse" warning in socket code
  2008-02-22 20:04 ` Sam Ravnborg
@ 2008-02-22 20:10   ` Stephens, Allan
  0 siblings, 0 replies; 3+ messages in thread
From: Stephens, Allan @ 2008-02-22 20:10 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: netdev

Hi Sam:

Yes and yes.  Some fixes will occur naturally as the problematic code
has already been rewritten in TIPC 1.7, but other fixes will need to be
developed.  I'll see what I can do to accelerate the process ...

-- Al 

-----Original Message-----
From: Sam Ravnborg [mailto:sam@ravnborg.org] 
Sent: Friday, February 22, 2008 3:04 PM
To: Stephens, Allan
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 03/08] [TIPC]: Eliminate "sparse" warning in socket
code

On Fri, Feb 22, 2008 at 11:59:12AM -0800, Stephens, Allan wrote:
> This patch eliminates warnings about a pair of undeclared symbols.

Hi Allan.

Last I looked there where ~90 sparse warnings for tipc.
I assume you are aware and that they are getting fixed.

	Sam - who would like to see an almost sparse clean kernel

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

end of thread, other threads:[~2008-02-22 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-22 19:59 [PATCH 03/08] [TIPC]: Eliminate "sparse" warning in socket code Stephens, Allan
2008-02-22 20:04 ` Sam Ravnborg
2008-02-22 20:10   ` Stephens, Allan

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).