From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Mon, 14 May 2012 16:53:29 +0800 References: <1336781383-15649-1-git-send-email-sven@narfation.org> <1336781383-15649-22-git-send-email-sven@narfation.org> In-Reply-To: <1336781383-15649-22-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201205141653.30047.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv3 22/23] batman-adv: Prefix main non-static functions with batadv_ Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Saturday, May 12, 2012 08:09:42 Sven Eckelmann wrote: > batman-adv can be compiled as part of the kernel instead of an module. In > that case the linker will see all non-static symbols of batman-adv and all > other non-static symbols of the kernel. This could lead to symbol > collisions. A prefix for the batman-adv symbols that defines their private > namespace avoids such a problem. > > Reported-by: David Miller > Signed-off-by: Sven Eckelmann > --- > bat_debugfs.c | 6 ++--- > bat_iv_ogm.c | 16 ++++++------- > bridge_loop_avoidance.c | 2 +- > hard-interface.c | 14 ++++++------ > icmp_socket.c | 4 ++-- > main.c | 57 > ++++++++++++++++++++++++----------------------- > main.h | 37 +++++++++++++++--------------- > originator.c | 4 ++-- > routing.c | 26 ++++++++++----------- > send.c | 6 ++--- > soft-interface.c | 6 ++--- > translation-table.c | 4 ++-- > vis.c | 10 ++++----- > 13 files changed, 97 insertions(+), 95 deletions(-) Applied in revision 920535a. Thanks, Marek