Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Consolidate logging related functions

Marek Lindner
2016-05-20T09:15:15Z

[-- Attachment #1: Type: text/plain, Size: 1833 bytes --]

On Sunday, May 15, 2016 23:48:31 Sven Eckelmann wrote:
> 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>
> ---
> v4:
> - remove linux/kernel.h
> v3:
> - introduce this patch
> ---
> net/batman-adv/Makefile | 1 +
> net/batman-adv/bat_iv_ogm.c | 1 +
> net/batman-adv/bat_v_elp.c | 1 +
> net/batman-adv/bat_v_ogm.c | 1 +
> net/batman-adv/bitarray.c | 2 +
> net/batman-adv/bridge_loop_avoidance.c | 1 +
> net/batman-adv/debugfs.c | 216
> +------------------------------ net/batman-adv/distributed-arp-table.c
> | 1 +
> net/batman-adv/gateway_client.c | 1 +
> net/batman-adv/gateway_common.c | 1 +
> net/batman-adv/hard-interface.c | 1 +
> net/batman-adv/icmp_socket.c | 1 +
> net/batman-adv/log.c | 230
> +++++++++++++++++++++++++++++++++ net/batman-adv/log.h |
> 109 ++++++++++++++++
> net/batman-adv/main.c | 2 +
> net/batman-adv/main.h | 69 +---------
> net/batman-adv/multicast.c | 1 +
> net/batman-adv/network-coding.c | 1 +
> net/batman-adv/originator.c | 1 +
> net/batman-adv/routing.c | 1 +
> net/batman-adv/send.c | 1 +
> net/batman-adv/sysfs.c | 1 +
> net/batman-adv/translation-table.c | 1 +
> 23 files changed, 363 insertions(+), 282 deletions(-)
> create mode 100644 net/batman-adv/log.c
> create mode 100644 net/batman-adv/log.h

Applied in revision 421d988.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]