All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] mpls_iptunnel: add static qualifier to mpls_output
@ 2015-12-09 14:56 Roopa Prabhu
  2015-12-09 15:00 ` Robert Shearman
  2015-12-12  1:18 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Roopa Prabhu @ 2015-12-09 14:56 UTC (permalink / raw)
  To: ebiederm, rshearma; +Cc: davem, netdev

From: Roopa Prabhu <roopa@cumulusnetworks.com>

This gets rid of the following compile warn:
net/mpls/mpls_iptunnel.c:40:5: warning: no previous prototype for
mpls_output [-Wmissing-prototypes]

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
---
 net/mpls/mpls_iptunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mpls/mpls_iptunnel.c b/net/mpls/mpls_iptunnel.c
index 67591ae..cdd01e6 100644
--- a/net/mpls/mpls_iptunnel.c
+++ b/net/mpls/mpls_iptunnel.c
@@ -37,7 +37,7 @@ static unsigned int mpls_encap_size(struct mpls_iptunnel_encap *en)
 	return en->labels * sizeof(struct mpls_shim_hdr);
 }
 
-int mpls_output(struct net *net, struct sock *sk, struct sk_buff *skb)
+static int mpls_output(struct net *net, struct sock *sk, struct sk_buff *skb)
 {
 	struct mpls_iptunnel_encap *tun_encap_info;
 	struct mpls_shim_hdr *hdr;
-- 
1.9.1

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

* Re: [PATCH net-next] mpls_iptunnel: add static qualifier to mpls_output
  2015-12-09 14:56 [PATCH net-next] mpls_iptunnel: add static qualifier to mpls_output Roopa Prabhu
@ 2015-12-09 15:00 ` Robert Shearman
  2015-12-12  1:18 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Shearman @ 2015-12-09 15:00 UTC (permalink / raw)
  To: Roopa Prabhu, ebiederm; +Cc: davem, netdev

On 09/12/15 14:56, Roopa Prabhu wrote:
> From: Roopa Prabhu <roopa@cumulusnetworks.com>
>
> This gets rid of the following compile warn:
> net/mpls/mpls_iptunnel.c:40:5: warning: no previous prototype for
> mpls_output [-Wmissing-prototypes]
>

Acked-by: Robert Shearman <rshearma@brocade.com>

> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>

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

* Re: [PATCH net-next] mpls_iptunnel: add static qualifier to mpls_output
  2015-12-09 14:56 [PATCH net-next] mpls_iptunnel: add static qualifier to mpls_output Roopa Prabhu
  2015-12-09 15:00 ` Robert Shearman
@ 2015-12-12  1:18 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2015-12-12  1:18 UTC (permalink / raw)
  To: roopa; +Cc: ebiederm, rshearma, netdev

From: Roopa Prabhu <roopa@cumulusnetworks.com>
Date: Wed,  9 Dec 2015 06:56:41 -0800

> From: Roopa Prabhu <roopa@cumulusnetworks.com>
> 
> This gets rid of the following compile warn:
> net/mpls/mpls_iptunnel.c:40:5: warning: no previous prototype for
> mpls_output [-Wmissing-prototypes]
> 
> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>

Applied, thank you.

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

end of thread, other threads:[~2015-12-12  1:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-09 14:56 [PATCH net-next] mpls_iptunnel: add static qualifier to mpls_output Roopa Prabhu
2015-12-09 15:00 ` Robert Shearman
2015-12-12  1:18 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.