[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130218.123137.2068004635468705026.davem@davemloft.net>
Date: Mon, 18 Feb 2013 12:31:37 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ying.xue@...driver.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: fix a compile error when SOCK_REFCNT_DEBUG is
enabled
From: Ying Xue <ying.xue@...driver.com>
Date: Sat, 16 Feb 2013 16:28:25 +0800
> When SOCK_REFCNT_DEBUG is enabled, below build error is met:
>
> kernel/sysctl_binary.o: In function `sk_refcnt_debug_release':
> include/net/sock.h:1025: multiple definition of `sk_refcnt_debug_release'
> kernel/sysctl.o:include/net/sock.h:1025: first defined here
> kernel/audit.o: In function `sk_refcnt_debug_release':
> include/net/sock.h:1025: multiple definition of `sk_refcnt_debug_release'
> kernel/sysctl.o:include/net/sock.h:1025: first defined here
> make[1]: *** [kernel/built-in.o] Error 1
> make: *** [kernel] Error 2
>
> So we decide to make sk_refcnt_debug_release static to eliminate
> the error.
>
> Signed-off-by: Ying Xue <ying.xue@...driver.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists