diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-05-15 17:48:31 -0400 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-06-30 04:29:43 -0400 |
commit | ba412080fb6461b5a40dbc5e44186ed029d67b8d (patch) | |
tree | 5db650b562d40b428f0249ef14932ddb908921a0 /net/batman-adv/bitarray.c | |
parent | 01d350d14712d1e8dbf2b00c82d2fc7c48d34e04 (diff) |
batman-adv: Consolidate logging related functions
There are several places in batman-adv which provide logging related
functions. These should be grouped together in the log.* files to make them
easier to find.
Reported-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/bitarray.c')
-rw-r--r-- | net/batman-adv/bitarray.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/bitarray.c b/net/batman-adv/bitarray.c index a0c7913837a5..032271421a20 100644 --- a/net/batman-adv/bitarray.c +++ b/net/batman-adv/bitarray.c | |||
@@ -20,6 +20,8 @@ | |||
20 | 20 | ||
21 | #include <linux/bitmap.h> | 21 | #include <linux/bitmap.h> |
22 | 22 | ||
23 | #include "log.h" | ||
24 | |||
23 | /* shift the packet array by n places. */ | 25 | /* shift the packet array by n places. */ |
24 | static void batadv_bitmap_shift_left(unsigned long *seq_bits, s32 n) | 26 | static void batadv_bitmap_shift_left(unsigned long *seq_bits, s32 n) |
25 | { | 27 | { |