summaryrefslogtreecommitdiff
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2011-06-15 07:41:37 (GMT)
committerSven Eckelmann <sven@narfation.org>2011-06-20 09:37:18 (GMT)
commitb4e1705417c6cc7d46d9020259a2c8f457cf82bd (patch)
treed057a27c91d0bce396726878a6c8995f0d5b0d3b /net/batman-adv/main.h
parentb2c44a53836559b5e2823aa215c979c33bc9e2db (diff)
downloadlinux-b4e1705417c6cc7d46d9020259a2c8f457cf82bd.tar.xz
batman-adv: Reduce usage of char
char was used in different places to store information without really using the characteristics of that data type or by ignoring the fact that char has not a well defined signedness. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index ed488cb..714a241 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -151,7 +151,7 @@ int debug_log(struct bat_priv *bat_priv, const char *fmt, ...) __printf(2, 3);
while (0)
#else /* !CONFIG_BATMAN_ADV_DEBUG */
__printf(3, 4)
-static inline void bat_dbg(char type __always_unused,
+static inline void bat_dbg(int type __always_unused,
struct bat_priv *bat_priv __always_unused,
const char *fmt __always_unused, ...)
{