Antonio Quartulli | 28 Jun 2012 11:34
Gravatar

pull request: batman-adv 2012-06-28

this is another set of patches I'd like to see included in net-next/linux-3.6.
Here you have some more patches aimed to clean our namespace, a minor cleanup
for the vis code that eliminates a useless intermediate buffer used to
provide the output and two other minor cleanups for the TranslationTable code.

Tell me if there is any problem!

Thank you,
	Antonio

The following changes since commit 160eb5a6b14ca2eab5c598bdbbb24c24624bad34:

  ipv4: Kill early demux method return value. (2012-06-27 22:01:22 -0700)

are available in the git repository at:

  git://git.open-mesh.org/linux-merge.git tags/batman-adv-for-davem

for you to fetch changes up to 42d0b044b7c9e5821f1bf3e2b4ea7861417c11c2:

  batman-adv: Prefix main defines with BATADV_ (2012-06-28 08:45:05 +0200)

----------------------------------------------------------------
Included changes:
- another batch of patches meant to clean batman-adv namespace
- deletion of an obsolete intermediate buffer used in the visualization code to
  print the output
- TT code cleanups

----------------------------------------------------------------
(Continue reading)

Antonio Quartulli | 28 Jun 2012 11:34
Gravatar

[PATCH 01/18] batman-adv: Prefix unicast local static functions with batadv_

From: Sven Eckelmann <sven <at> narfation.org>

All non-static symbols of batman-adv were prefixed with batadv_ to avoid
collisions with other symbols of the kernel. Other symbols of batman-adv
should use the same prefix to keep the naming scheme consistent.

Signed-off-by: Sven Eckelmann <sven <at> narfation.org>
Signed-off-by: Antonio Quartulli <ordex <at> autistici.org>
---
 net/batman-adv/unicast.c |   29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/net/batman-adv/unicast.c b/net/batman-adv/unicast.c
index d021055..472436a 100644
--- a/net/batman-adv/unicast.c
+++ b/net/batman-adv/unicast.c
 <at>  <at>  -29,9 +29,10  <at>  <at> 
 #include "hard-interface.h"

 
-static struct sk_buff *frag_merge_packet(struct list_head *head,
-					 struct frag_packet_list_entry *tfp,
-					 struct sk_buff *skb)
+static struct sk_buff *
+batadv_frag_merge_packet(struct list_head *head,
+			 struct frag_packet_list_entry *tfp,
+			 struct sk_buff *skb)
 {
 	struct unicast_frag_packet *up =
 		(struct unicast_frag_packet *)skb->data;
(Continue reading)


Gmane