pull request for net-next: batman-adv 2021-02-02
Subsystems (3)
Simon Wunderlich
maintainercover pull request for net-next: batman-adv 2021-02-02
Hi Jakub, hi David,
here is a little cleanup pull request of batman-adv to go into net-next.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e:
Linux 5.11-rc1 (2020-12-27 15:30:22 -0800)
are available in the Git repository at:
git://git.open-mesh.org/linux-merge.git tags/batadv-next-pullrequest-20210202
for you to fetch changes up to 5234e44068060ae45330a5ab972ff86c733ada2f:
batman-adv: Fix names for kernel-doc blocks (2021-01-28 17:46:29 +0100)
----------------------------------------------------------------
This feature/cleanup patchset includes the following patches:
- Bump version strings, by Simon Wunderlich
- Update copyright years for 2021, by Sven Eckelmann
- Avoid sizeof on flexible structure, by Sven Eckelmann
- Fix names for kernel-doc blocks, by Sven Eckelmann
----------------------------------------------------------------
Simon Wunderlich (1):
batman-adv: Start new development cycle
Sven Eckelmann (3):
batman-adv: Update copyright years for 2021
batman-adv: Avoid sizeof on flexible structure
batman-adv: Fix names for kernel-doc blocks
include/uapi/linux/batadv_packet.h | 2 +- include/uapi/linux/batman_adv.h | 2 +- net/batman-adv/Kconfig | 2 +- net/batman-adv/Makefile | 2 +- net/batman-adv/bat_algo.c | 2 +- net/batman-adv/bat_algo.h | 2 +- net/batman-adv/bat_iv_ogm.c | 2 +- net/batman-adv/bat_iv_ogm.h | 2 +- net/batman-adv/bat_v.c | 2 +- net/batman-adv/bat_v.h | 2 +- net/batman-adv/bat_v_elp.c | 2 +- net/batman-adv/bat_v_elp.h | 2 +- net/batman-adv/bat_v_ogm.c | 2 +- net/batman-adv/bat_v_ogm.h | 2 +- net/batman-adv/bitarray.c | 2 +- net/batman-adv/bitarray.h | 2 +- net/batman-adv/bridge_loop_avoidance.c | 2 +- net/batman-adv/bridge_loop_avoidance.h | 2 +- net/batman-adv/distributed-arp-table.c | 6 +++--- net/batman-adv/distributed-arp-table.h | 2 +- net/batman-adv/fragmentation.c | 2 +- net/batman-adv/fragmentation.h | 2 +- net/batman-adv/gateway_client.c | 2 +- net/batman-adv/gateway_client.h | 2 +- net/batman-adv/gateway_common.c | 2 +- net/batman-adv/gateway_common.h | 2 +- net/batman-adv/hard-interface.c | 2 +- net/batman-adv/hard-interface.h | 2 +- net/batman-adv/hash.c | 2 +- net/batman-adv/hash.h | 2 +- net/batman-adv/log.c | 2 +- net/batman-adv/log.h | 2 +- net/batman-adv/main.c | 2 +- net/batman-adv/main.h | 4 ++-- net/batman-adv/multicast.c | 4 ++-- net/batman-adv/multicast.h | 2 +- net/batman-adv/netlink.c | 6 +++--- net/batman-adv/netlink.h | 2 +- net/batman-adv/network-coding.c | 2 +- net/batman-adv/network-coding.h | 2 +- net/batman-adv/originator.c | 2 +- net/batman-adv/originator.h | 2 +- net/batman-adv/routing.c | 2 +- net/batman-adv/routing.h | 2 +- net/batman-adv/send.c | 2 +- net/batman-adv/send.h | 2 +- net/batman-adv/soft-interface.c | 2 +- net/batman-adv/soft-interface.h | 2 +- net/batman-adv/tp_meter.c | 4 ++-- net/batman-adv/tp_meter.h | 2 +- net/batman-adv/trace.c | 2 +- net/batman-adv/trace.h | 2 +- net/batman-adv/translation-table.c | 2 +- net/batman-adv/translation-table.h | 2 +- net/batman-adv/tvlv.c | 2 +- net/batman-adv/tvlv.h | 2 +- net/batman-adv/types.h | 5 +++-- 57 files changed, 66 insertions(+), 65 deletions(-)
Simon Wunderlich
maintainerPATCH 1/4 batman-adv: Start new development cycle
--- net/batman-adv/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/batman-adv/main.h +1 -1
@@ -13,7 +13,7 @@#define BATADV_DRIVER_DEVICE "batman-adv"#ifndef BATADV_SOURCE_VERSION -#define BATADV_SOURCE_VERSION "2021.0" +#define BATADV_SOURCE_VERSION "2021.1"#endif /* B.A.T.M.A.N. parameters */
Signature · 1 line
2.20.1
Jakub Kicinski
maintainerRe: [PATCH 1/4] batman-adv: Start new development cycle
Quoted 10 lines · On Tue, 2 Feb 2021 18:40:33 +0100 Simon Wunderlich wrote:
Signed-off-by Simon Wunderlich <[email protected]>--- net/batman-adv/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)net/batman-adv/main.h +0
-0
net/batman-adv/main.h line 19
Quoted 8 lines
net/batman-adv/main.h +1
-1@@ -13,7 +13,7 @@#define BATADV_DRIVER_DEVICE "batman-adv"#ifndef BATADV_SOURCE_VERSION -#define BATADV_SOURCE_VERSION "2021.0" +#define BATADV_SOURCE_VERSION "2021.1"#endif /* B.A.T.M.A.N. parameters */
For just comment adjustments and the sizeof() change?
Sven Eckelmann
maintainerRe: [PATCH 1/4] batman-adv: Start new development cycle
On Thursday, 4 February 2021 01:33:02 CET Jakub Kicinski wrote:
[...]
Quoted 1 line
For just comment adjustments and the
sizeof()change?
The process is basically:
1. update the version information for a development period
2. queue up whatever comes in during that time
3. send it to netdev for net-next when it seems to be ready
The first step is not influenced by the 2.+3. step. So the development effort is not reflected in the version number.
Kind regards,
Sven
Simon Wunderlich
maintainerPATCH 2/4 batman-adv: Update copyright years for 2021
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
--- include/uapi/linux/batadv_packet.h | 2 +- include/uapi/linux/batman_adv.h | 2 +- net/batman-adv/Kconfig | 2 +- net/batman-adv/Makefile | 2 +- net/batman-adv/bat_algo.c | 2 +- net/batman-adv/bat_algo.h | 2 +- net/batman-adv/bat_iv_ogm.c | 2 +- net/batman-adv/bat_iv_ogm.h | 2 +- net/batman-adv/bat_v.c | 2 +- net/batman-adv/bat_v.h | 2 +- net/batman-adv/bat_v_elp.c | 2 +- net/batman-adv/bat_v_elp.h | 2 +- net/batman-adv/bat_v_ogm.c | 2 +- net/batman-adv/bat_v_ogm.h | 2 +- net/batman-adv/bitarray.c | 2 +- net/batman-adv/bitarray.h | 2 +- net/batman-adv/bridge_loop_avoidance.c | 2 +- net/batman-adv/bridge_loop_avoidance.h | 2 +- net/batman-adv/distributed-arp-table.c | 2 +- net/batman-adv/distributed-arp-table.h | 2 +- net/batman-adv/fragmentation.c | 2 +- net/batman-adv/fragmentation.h | 2 +- net/batman-adv/gateway_client.c | 2 +- net/batman-adv/gateway_client.h | 2 +- net/batman-adv/gateway_common.c | 2 +- net/batman-adv/gateway_common.h | 2 +- net/batman-adv/hard-interface.c | 2 +- net/batman-adv/hard-interface.h | 2 +- net/batman-adv/hash.c | 2 +- net/batman-adv/hash.h | 2 +- net/batman-adv/log.c | 2 +- net/batman-adv/log.h | 2 +- net/batman-adv/main.c | 2 +- net/batman-adv/main.h | 2 +- net/batman-adv/multicast.c | 2 +- net/batman-adv/multicast.h | 2 +- net/batman-adv/netlink.c | 2 +- net/batman-adv/netlink.h | 2 +- net/batman-adv/network-coding.c | 2 +- net/batman-adv/network-coding.h | 2 +- net/batman-adv/originator.c | 2 +- net/batman-adv/originator.h | 2 +- net/batman-adv/routing.c | 2 +- net/batman-adv/routing.h | 2 +- net/batman-adv/send.c | 2 +- net/batman-adv/send.h | 2 +- net/batman-adv/soft-interface.c | 2 +- net/batman-adv/soft-interface.h | 2 +- net/batman-adv/tp_meter.c | 2 +- net/batman-adv/tp_meter.h | 2 +- net/batman-adv/trace.c | 2 +- net/batman-adv/trace.h | 2 +- net/batman-adv/translation-table.c | 2 +- net/batman-adv/translation-table.h | 2 +- net/batman-adv/tvlv.c | 2 +- net/batman-adv/tvlv.h | 2 +- net/batman-adv/types.h | 2 +- 57 files changed, 57 insertions(+), 57 deletions(-)
include/uapi/linux/batadv_packet.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
include/uapi/linux/batman_adv.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: MIT */ -/* Copyright (C) 2016-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2016-2021 B.A.T.M.A.N. contributors: * * Matthias Schiffer */
net/batman-adv/Kconfig +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -# Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +# Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: # # Marek Lindner, Simon Wunderlich
net/batman-adv/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -# Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +# Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: # # Marek Lindner, Simon Wunderlich
net/batman-adv/bat_algo.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/bat_algo.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2011-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Linus Lüssing */
net/batman-adv/bat_iv_ogm.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/bat_iv_ogm.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/bat_v.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2013-2021 B.A.T.M.A.N. contributors: * * Linus Lüssing, Marek Lindner */
net/batman-adv/bat_v.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2011-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Linus Lüssing */
net/batman-adv/bat_v_elp.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2011-2021 B.A.T.M.A.N. contributors: * * Linus Lüssing, Marek Lindner */
net/batman-adv/bat_v_elp.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2013-2021 B.A.T.M.A.N. contributors: * * Linus Lüssing, Marek Lindner */
net/batman-adv/bat_v_ogm.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2013-2021 B.A.T.M.A.N. contributors: * * Antonio Quartulli */
net/batman-adv/bat_v_ogm.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2013-2021 B.A.T.M.A.N. contributors: * * Antonio Quartulli */
net/batman-adv/bitarray.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2006-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2006-2021 B.A.T.M.A.N. contributors: * * Simon Wunderlich, Marek Lindner */
net/batman-adv/bitarray.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2006-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2006-2021 B.A.T.M.A.N. contributors: * * Simon Wunderlich, Marek Lindner */
net/batman-adv/bridge_loop_avoidance.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2011-2021 B.A.T.M.A.N. contributors: * * Simon Wunderlich */
net/batman-adv/bridge_loop_avoidance.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2011-2021 B.A.T.M.A.N. contributors: * * Simon Wunderlich */
net/batman-adv/distributed-arp-table.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2011-2021 B.A.T.M.A.N. contributors: * * Antonio Quartulli */
net/batman-adv/distributed-arp-table.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2011-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2011-2021 B.A.T.M.A.N. contributors: * * Antonio Quartulli */
net/batman-adv/fragmentation.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2013-2021 B.A.T.M.A.N. contributors: * * Martin Hundebøll <[email protected]> */
net/batman-adv/fragmentation.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2013-2021 B.A.T.M.A.N. contributors: * * Martin Hundebøll <[email protected]> */
net/batman-adv/gateway_client.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2009-2021 B.A.T.M.A.N. contributors: * * Marek Lindner */
net/batman-adv/gateway_client.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2009-2021 B.A.T.M.A.N. contributors: * * Marek Lindner */
net/batman-adv/gateway_common.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2009-2021 B.A.T.M.A.N. contributors: * * Marek Lindner */
net/batman-adv/gateway_common.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2009-2021 B.A.T.M.A.N. contributors: * * Marek Lindner */
net/batman-adv/hard-interface.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/hard-interface.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/hash.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2006-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2006-2021 B.A.T.M.A.N. contributors: * * Simon Wunderlich, Marek Lindner */
net/batman-adv/hash.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2006-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2006-2021 B.A.T.M.A.N. contributors: * * Simon Wunderlich, Marek Lindner */
net/batman-adv/log.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2010-2021 B.A.T.M.A.N. contributors: * * Marek Lindner */
net/batman-adv/log.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/main.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/main.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/multicast.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2014-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2014-2021 B.A.T.M.A.N. contributors: * * Linus Lüssing */
net/batman-adv/multicast.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2014-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2014-2021 B.A.T.M.A.N. contributors: * * Linus Lüssing */
net/batman-adv/netlink.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2016-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2016-2021 B.A.T.M.A.N. contributors: * * Matthias Schiffer */
net/batman-adv/netlink.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2016-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2016-2021 B.A.T.M.A.N. contributors: * * Matthias Schiffer */
net/batman-adv/network-coding.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2012-2021 B.A.T.M.A.N. contributors: * * Martin Hundebøll, Jeppe Ledet-Pedersen */
net/batman-adv/network-coding.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2012-2021 B.A.T.M.A.N. contributors: * * Martin Hundebøll, Jeppe Ledet-Pedersen */
net/batman-adv/originator.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2009-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2009-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/originator.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/routing.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/routing.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/send.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/send.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/soft-interface.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/soft-interface.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner */
net/batman-adv/tp_meter.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2012-2021 B.A.T.M.A.N. contributors: * * Edo Monticelli, Antonio Quartulli */
net/batman-adv/tp_meter.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2012-2021 B.A.T.M.A.N. contributors: * * Edo Monticelli, Antonio Quartulli */
net/batman-adv/trace.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2010-2021 B.A.T.M.A.N. contributors: * * Sven Eckelmann */
net/batman-adv/trace.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2010-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2010-2021 B.A.T.M.A.N. contributors: * * Sven Eckelmann */
net/batman-adv/translation-table.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich, Antonio Quartulli */
net/batman-adv/translation-table.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich, Antonio Quartulli */
net/batman-adv/tvlv.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/tvlv.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
net/batman-adv/types.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
Signature · 1 line
2.20.1
Jakub Kicinski
maintainerRe: [PATCH 2/4] batman-adv: Update copyright years for 2021
Quoted 69 lines · On Tue, 2 Feb 2021 18:40:34 +0100 Simon Wunderlich wrote:
From: Sven Eckelmann <[email protected]>
Signed-off-by Sven Eckelmann <[email protected]>Signed-off-by Simon Wunderlich <[email protected]>--- include/uapi/linux/batadv_packet.h | 2 +- include/uapi/linux/batman_adv.h | 2 +- net/batman-adv/Kconfig | 2 +- net/batman-adv/Makefile | 2 +- net/batman-adv/bat_algo.c | 2 +- net/batman-adv/bat_algo.h | 2 +- net/batman-adv/bat_iv_ogm.c | 2 +- net/batman-adv/bat_iv_ogm.h | 2 +- net/batman-adv/bat_v.c | 2 +- net/batman-adv/bat_v.h | 2 +- net/batman-adv/bat_v_elp.c | 2 +- net/batman-adv/bat_v_elp.h | 2 +- net/batman-adv/bat_v_ogm.c | 2 +- net/batman-adv/bat_v_ogm.h | 2 +- net/batman-adv/bitarray.c | 2 +- net/batman-adv/bitarray.h | 2 +- net/batman-adv/bridge_loop_avoidance.c | 2 +- net/batman-adv/bridge_loop_avoidance.h | 2 +- net/batman-adv/distributed-arp-table.c | 2 +- net/batman-adv/distributed-arp-table.h | 2 +- net/batman-adv/fragmentation.c | 2 +- net/batman-adv/fragmentation.h | 2 +- net/batman-adv/gateway_client.c | 2 +- net/batman-adv/gateway_client.h | 2 +- net/batman-adv/gateway_common.c | 2 +- net/batman-adv/gateway_common.h | 2 +- net/batman-adv/hard-interface.c | 2 +- net/batman-adv/hard-interface.h | 2 +- net/batman-adv/hash.c | 2 +- net/batman-adv/hash.h | 2 +- net/batman-adv/log.c | 2 +- net/batman-adv/log.h | 2 +- net/batman-adv/main.c | 2 +- net/batman-adv/main.h | 2 +- net/batman-adv/multicast.c | 2 +- net/batman-adv/multicast.h | 2 +- net/batman-adv/netlink.c | 2 +- net/batman-adv/netlink.h | 2 +- net/batman-adv/network-coding.c | 2 +- net/batman-adv/network-coding.h | 2 +- net/batman-adv/originator.c | 2 +- net/batman-adv/originator.h | 2 +- net/batman-adv/routing.c | 2 +- net/batman-adv/routing.h | 2 +- net/batman-adv/send.c | 2 +- net/batman-adv/send.h | 2 +- net/batman-adv/soft-interface.c | 2 +- net/batman-adv/soft-interface.h | 2 +- net/batman-adv/tp_meter.c | 2 +- net/batman-adv/tp_meter.h | 2 +- net/batman-adv/trace.c | 2 +- net/batman-adv/trace.h | 2 +- net/batman-adv/translation-table.c | 2 +- net/batman-adv/translation-table.h | 2 +- net/batman-adv/tvlv.c | 2 +- net/batman-adv/tvlv.h | 2 +- net/batman-adv/types.h | 2 +- 57 files changed, 57 insertions(+), 57 deletions(-)include/uapi/linux/batadv_packet.h +0
-0
include/uapi/linux/batadv_packet.h line 5
Quoted 6 lines
include/uapi/linux/batadv_packet.h +1
-1@@ -1,5 +1,5 @@/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */
Is this how copyright works? I'm not a layer, but I thought it was supposed to reflect changes done to given file in a given year.
Re: [PATCH 2/4] batman-adv: Update copyright years for 2021
Quoted 65 lines · Jakub Kicinski
Quoted 64 lines · On Tue, 2 Feb 2021 18:40:34 +0100 Simon Wunderlich wrote:
From: Sven Eckelmann <[email protected]>
Signed-off-by Sven Eckelmann <[email protected]>Signed-off-by Simon Wunderlich <[email protected]>--- include/uapi/linux/batadv_packet.h | 2 +- include/uapi/linux/batman_adv.h | 2 +- net/batman-adv/Kconfig | 2 +- net/batman-adv/Makefile | 2 +- net/batman-adv/bat_algo.c | 2 +- net/batman-adv/bat_algo.h | 2 +- net/batman-adv/bat_iv_ogm.c | 2 +- net/batman-adv/bat_iv_ogm.h | 2 +- net/batman-adv/bat_v.c | 2 +- net/batman-adv/bat_v.h | 2 +- net/batman-adv/bat_v_elp.c | 2 +- net/batman-adv/bat_v_elp.h | 2 +- net/batman-adv/bat_v_ogm.c | 2 +- net/batman-adv/bat_v_ogm.h | 2 +- net/batman-adv/bitarray.c | 2 +- net/batman-adv/bitarray.h | 2 +- net/batman-adv/bridge_loop_avoidance.c | 2 +- net/batman-adv/bridge_loop_avoidance.h | 2 +- net/batman-adv/distributed-arp-table.c | 2 +- net/batman-adv/distributed-arp-table.h | 2 +- net/batman-adv/fragmentation.c | 2 +- net/batman-adv/fragmentation.h | 2 +- net/batman-adv/gateway_client.c | 2 +- net/batman-adv/gateway_client.h | 2 +- net/batman-adv/gateway_common.c | 2 +- net/batman-adv/gateway_common.h | 2 +- net/batman-adv/hard-interface.c | 2 +- net/batman-adv/hard-interface.h | 2 +- net/batman-adv/hash.c | 2 +- net/batman-adv/hash.h | 2 +- net/batman-adv/log.c | 2 +- net/batman-adv/log.h | 2 +- net/batman-adv/main.c | 2 +- net/batman-adv/main.h | 2 +- net/batman-adv/multicast.c | 2 +- net/batman-adv/multicast.h | 2 +- net/batman-adv/netlink.c | 2 +- net/batman-adv/netlink.h | 2 +- net/batman-adv/network-coding.c | 2 +- net/batman-adv/network-coding.h | 2 +- net/batman-adv/originator.c | 2 +- net/batman-adv/originator.h | 2 +- net/batman-adv/routing.c | 2 +- net/batman-adv/routing.h | 2 +- net/batman-adv/send.c | 2 +- net/batman-adv/send.h | 2 +- net/batman-adv/soft-interface.c | 2 +- net/batman-adv/soft-interface.h | 2 +- net/batman-adv/tp_meter.c | 2 +- net/batman-adv/tp_meter.h | 2 +- net/batman-adv/trace.c | 2 +- net/batman-adv/trace.h | 2 +- net/batman-adv/translation-table.c | 2 +- net/batman-adv/translation-table.h | 2 +- net/batman-adv/tvlv.c | 2 +- net/batman-adv/tvlv.h | 2 +- net/batman-adv/types.h | 2 +- 57 files changed, 57 insertions(+), 57 deletions(-)
Quoted 14 lines
include/uapi/linux/batadv_packet.h line 5
Quoted 11 lines
include/uapi/linux/batadv_packet.h +1
-1@@ -1,5 +1,5 @@/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ -/* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2021 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich */ Is this how copyright works? I'm not a layer, but I thought it was supposed to reflect changes done to given file in a given year.
I'm not a lawyer either, but that is how we usually do it (as Jakub describes).
Signature · 1 line
~Randy
Sven Eckelmann
maintainerRe: [PATCH 2/4] batman-adv: Update copyright years for 2021
In reply to Jakub KicinskiOn Thursday, 4 February 2021 01:35:06 CET Jakub Kicinski wrote:
[...]
Quoted 2 lines
Is this how copyright works? I'm not a layer, but I thought it was supposed to reflect changes done to given file in a given year.
<irony>Because we all know that the first thing a person is doing when submitting a change is to update the copyright year.</irony>
So we have either the option to:
* not update it at all (as in many kernel sources)
* don't have it listed explicitly (as seen in other kernel sources)
* update it once a year
I personally like to have a simple solution so I don't have to deal with this kind of details while doing interesting things. The current "solution" was to handle the copyright notices year for the whole project as one entity - once per year and then ignore it for the rest of the year.
And I would also prefer not to start a discussion about the differences between the inalienable German Urheberrecht, pre 1989 anglo-american copyright, post 1989 anglo american copyright and other copyright like laws.
Kind regards,
Sven
Jakub Kicinski
maintainerRe: [PATCH 2/4] batman-adv: Update copyright years for 2021
Quoted 10 lines · On Thu, 04 Feb 2021 08:54:33 +0100 Sven Eckelmann wrote:
On Thursday, 4 February 2021 01:35:06 CET Jakub Kicinski wrote:
[...]Quoted 2 lines
Is this how copyright works? I'm not a layer, but I thought it was supposed to reflect changes done to given file in a given year.
<irony>Because we all know that the first thing a person is doing when submitting a change is to update the copyright year.</irony>
So we have either the option to:
Quoted 8 lines
* not update it at all (as in many kernel sources)
* don't have it listed explicitly (as seen in other kernel sources)
* update it once a yearI personally like to have a simple solution so I don't have to deal with this kind of details while doing interesting things. The current "solution" was to handle the copyright notices year for the whole project as one entity - once per year and then ignore it for the rest of the year.
Back when I was working for a vendor I had a script which used git to find files touched in current year and then a bit of sed to update the dates. Instead of running your current script every Jan, you can run that one every Dec.
Quoted 3 lines
And I would also prefer not to start a discussion about the differences between the inalienable German Urheberrecht, pre 1989 anglo-american copyright, post 1989 anglo american copyright and other copyright like laws.
No need, we can depend on common sense. I hope you understand that a pull request which updates 8 lines of code, mostly comments, and then contains a version bump + 57 lines of copyright bumps is very likely to give people a pause, right?
If you strongly prefer the current model please add appropriate commit messages justifying it and repost. Right now patch 1 and 2 have none.
Sven Eckelmann
maintainerRe: [PATCH 2/4] batman-adv: Update copyright years for 2021
Quoted 4 lines · On Thursday, 4 February 2021 20:58:36 CET Jakub Kicinski wrote:
Back when I was working for a vendor I had a script which used git to find files touched in current year and then a bit of sed to update the dates. Instead of running your current script every Jan, you can run that one every Dec.
Just as an additional anecdote: Just had the situation that a vendor complained that the user visible copyright notice was still 2020 for a project published in 2021 but developed and tested 2020 (and thus tagged + packaged in 2020).
Now to something more relevant: what do you think about dropping the copyright year [1]?
Kind regards,
Sven
Jakub Kicinski
maintainerRe: [PATCH 2/4] batman-adv: Update copyright years for 2021
Quoted 6 lines · On Fri, 05 Feb 2021 08:47:38 +0100 Sven Eckelmann wrote:
Quoted 4 lines · On Thursday, 4 February 2021 20:58:36 CET Jakub Kicinski wrote:
Back when I was working for a vendor I had a script which used git to find files touched in current year and then a bit of sed to update the dates. Instead of running your current script every Jan, you can run that one every Dec.
Quoted 7 lines
Just as an additional anecdote: Just had the situation that a vendor complained that the user visible copyright notice was still 2020 for a project published in 2021 but developed and tested 2020 (and thus tagged + packaged in 2020).
Now to something more relevant: what do you think about dropping the copyright year [1]?
Interesting! In my own code I do option 1, copyright protection is longer than the code I write is relevant :S
3 seems to be what US lawyers like but frankly in the git era they are probably overly lazy^W cautious.
Option 4 seems nice as well - it's really up to you(r lawyer).
Simon Wunderlich
maintainerPATCH 3/4 batman-adv: Avoid sizeof on flexible structure
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The batadv_dhcp_packet is used to read in parts of the DHCP packet and extract relevant information for the distributed arp table. But the structure contained the flexible member "options" which is no where used in the code.
A sizeof on this kind of type would return the size of everything except the flexible member. But sparse will detect this kind of sizeof and warn with
warning: using sizeof on a flexible structure
This can be avoided by dropping the unused flexible member.
--- net/batman-adv/distributed-arp-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/batman-adv/distributed-arp-table.c +1 -1
@@ -87,7 +87,7 @@ struct batadv_dhcp_packet {__u8 sname[64 ];__u8 file[128 ];__be32 magic; -__u8 options[]; +/* __u8 options[]; */ };#define BATADV_DHCP_YIADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->yiaddr)
Signature · 1 line
2.20.1
Simon Wunderlich
maintainerPATCH 4/4 batman-adv: Fix names for kernel-doc blocks
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
kernel-doc can only correctly identify the documented function or struct when the name in the first kernel-doc line references it. But some of the kernel-doc blocks referenced a different function/struct then it actually documented.
--- net/batman-adv/distributed-arp-table.c | 2 +- net/batman-adv/multicast.c | 2 +- net/batman-adv/netlink.c | 4 ++-- net/batman-adv/tp_meter.c | 2 +- net/batman-adv/types.h | 3 ++- 5 files changed, 7 insertions(+), 6 deletions(-)
net/batman-adv/distributed-arp-table.c +1 -1
@@ -1564,7 +1564,7 @@ static int batadv_dat_get_dhcp_message_type(struct sk_buff *skb) }/** -* batadv_dat_get_dhcp_yiaddr() - get yiaddr from a DHCP packet +* batadv_dat_dhcp_get_yiaddr() - get yiaddr from a DHCP packet * @skb: the DHCP packet to parse * @buf: a buffer to store the yiaddr in *
net/batman-adv/multicast.c +1 -1
@@ -828,7 +828,7 @@ batadv_mcast_bridge_log(struct batadv_priv *bat_priv, }/** -* batadv_mcast_flags_logs() - output debug information about mcast flag changes +* batadv_mcast_flags_log() - output debug information about mcast flag changes * @bat_priv: the bat priv with all the soft interface information * @flags: TVLV flags indicating the new multicast state *
net/batman-adv/netlink.c +2 -2
@@ -193,7 +193,7 @@ static int batadv_netlink_mesh_fill_ap_isolation(struct sk_buff *msg, }/** -* batadv_option_set_ap_isolation() - Set ap_isolation from genl msg +* batadv_netlink_set_mesh_ap_isolation() - Set ap_isolation from genl msg * @attr: parsed BATADV_ATTR_AP_ISOLATION_ENABLED attribute * @bat_priv: the bat priv with all the soft interface information *
@@ -757,7 +757,7 @@ batadv_netlink_tp_meter_start(struct sk_buff *skb, struct genl_info *info) }/** -* batadv_netlink_tp_meter_start() - Cancel a running tp_meter session +* batadv_netlink_tp_meter_cancel() - Cancel a running tp_meter session * @skb: received netlink message * @info: receiver information *
net/batman-adv/tp_meter.c +1 -1
@@ -131,7 +131,7 @@ static u32 batadv_tp_cwnd(u32 base, u32 increment, u32 min) }/** -* batadv_tp_updated_cwnd() - update the Congestion Windows +* batadv_tp_update_cwnd() - update the Congestion Windows * @tp_vars: the private data of the current TP meter session * @mss: maximum segment size of transmission *
net/batman-adv/types.h +2 -1
@@ -228,7 +228,8 @@ struct batadv_hard_iface { };/** -* struct batadv_orig_ifinfo - B.A.T.M.A.N. IV private orig_ifinfo members +* struct batadv_orig_ifinfo_bat_iv - B.A.T.M.A.N. IV private orig_ifinfo +* members */ struct batadv_orig_ifinfo_bat_iv {/**
Signature · 1 line
2.20.1