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

Marek Lindner mareklindner at neomailbox.ch
Fri May 20 11:15:15 CEST 2016


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 at pengutronix.de>
> Signed-off-by: Sven Eckelmann <sven at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20160520/21f62924/attachment-0001.sig>


More information about the B.A.T.M.A.N mailing list