batman-adv: Prefix icmp_socket defines with BATADV_
authorSven Eckelmann <sven@narfation.org>
Sun, 3 Jun 2012 20:19:12 +0000 (22:19 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Thu, 28 Jun 2012 06:44:59 +0000 (08:44 +0200)
Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/icmp_socket.c
net/batman-adv/icmp_socket.h

index b285c31bfa9e855577bdbb5b1ffe2dcecc95d987..4f45ca72fefc86b0a4629be2a11b60451455eefd 100644 (file)
@@ -282,7 +282,7 @@ int batadv_socket_setup(struct bat_priv *bat_priv)
        if (!bat_priv->debug_dir)
                goto err;
 
-       d = debugfs_create_file(ICMP_SOCKET, S_IFREG | S_IWUSR | S_IRUSR,
+       d = debugfs_create_file(BATADV_ICMP_SOCKET, S_IFREG | S_IWUSR | S_IRUSR,
                                bat_priv->debug_dir, bat_priv, &batadv_fops);
        if (!d)
                goto err;
index a62ab80df9bd500e7c56b9179afd779a319f6fc1..f88f9f0fe7a731ec99b28be5e4575ea3665eeddc 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef _NET_BATMAN_ADV_ICMP_SOCKET_H_
 #define _NET_BATMAN_ADV_ICMP_SOCKET_H_
 
-#define ICMP_SOCKET "socket"
+#define BATADV_ICMP_SOCKET "socket"
 
 void batadv_socket_init(void);
 int batadv_socket_setup(struct bat_priv *bat_priv);