Name of failed tests
====================
master
------
* checkpatch ./net/batman-adv/hard-interface.c
* checkpatch ./net/batman-adv/hard-interface.h
* checkpatch ./net/batman-adv/multicast.c
* checkpatch ./net/batman-adv/soft-interface.c
* checkpatch ./net/batman-adv/sysfs.c
Output of different failed tests
================================
master: checkpatch ./net/batman-adv/hard-interface.c
----------------------------------------------------
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#566: FILE: ./net/batman-adv/hard-interface.c:566:
+ * slave interfaces)
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#679: FILE: ./net/batman-adv/hard-interface.c:679:
+ * batadv_master_del_slave() - remove hard_iface from the current master iface
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#681: FILE: ./net/batman-adv/hard-interface.c:681:
+ * @master: the master from which slave has to be removed
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#683: FILE: ./net/batman-adv/hard-interface.c:683:
+ * Invoke ndo_del_slave on master passing slave as argument. In this way the
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#683: FILE: ./net/batman-adv/hard-interface.c:683:
+ * Invoke ndo_del_slave on master passing slave as argument. In this way the
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#684: FILE: ./net/batman-adv/hard-interface.c:684:
+ * slave is free'd and the master can correctly change its internal state.
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#688: FILE: ./net/batman-adv/hard-interface.c:688:
+static int batadv_master_del_slave(struct batadv_hard_iface *slave,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#688: FILE: ./net/batman-adv/hard-interface.c:688:
+static int batadv_master_del_slave(struct batadv_hard_iface *slave,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#697: FILE: ./net/batman-adv/hard-interface.c:697:
+ if (master->netdev_ops->ndo_del_slave)
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#698: FILE: ./net/batman-adv/hard-interface.c:698:
+ ret = master->netdev_ops->ndo_del_slave(master, slave->net_dev);
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#698: FILE: ./net/batman-adv/hard-interface.c:698:
+ ret = master->netdev_ops->ndo_del_slave(master, slave->net_dev);
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#750: FILE: ./net/batman-adv/hard-interface.c:750:
+ ret = batadv_master_del_slave(hard_iface, master);
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#847: FILE: ./net/batman-adv/hard-interface.c:847:
+ * slave interfaces
total: 0 errors, 0 warnings, 13 checks, 1098 lines checked
master: checkpatch ./net/batman-adv/hard-interface.h
----------------------------------------------------
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#26: FILE: ./net/batman-adv/hard-interface.h:26:
+ * @BATADV_IF_NOT_IN_USE: interface is not used as slave interface of a
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#48: FILE: ./net/batman-adv/hard-interface.h:48:
+ * added as slave interface of a batman-adv soft interface
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#77: FILE: ./net/batman-adv/hard-interface.h:77:
+ * enum batadv_hard_if_cleanup - Cleanup modi for soft_iface after slave removal
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#86: FILE: ./net/batman-adv/hard-interface.h:86:
+ * @BATADV_IF_CLEANUP_AUTO: Delete soft-interface after last slave was
total: 0 errors, 0 warnings, 4 checks, 144 lines checked
master: checkpatch ./net/batman-adv/multicast.c
-----------------------------------------------
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#575: FILE: ./net/batman-adv/multicast.c:575:
+ * @dev: a bridge slave whose bridge to collect multicast addresses from
total: 0 errors, 0 warnings, 1 checks, 2430 lines checked
master: checkpatch ./net/batman-adv/soft-interface.c
----------------------------------------------------
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#873: FILE: ./net/batman-adv/soft-interface.c:873:
+ * batadv_softif_slave_add() - Add a slave interface to a batadv_soft_interface
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#873: FILE: ./net/batman-adv/soft-interface.c:873:
+ * batadv_softif_slave_add() - Add a slave interface to a batadv_soft_interface
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#875: FILE: ./net/batman-adv/soft-interface.c:875:
+ * @slave_dev: net_device which should become the slave interface
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#880: FILE: ./net/batman-adv/soft-interface.c:880:
+static int batadv_softif_slave_add(struct net_device *dev,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#881: FILE: ./net/batman-adv/soft-interface.c:881:
+ struct net_device *slave_dev,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#888: FILE: ./net/batman-adv/soft-interface.c:888:
+ hard_iface = batadv_hardif_get_by_netdev(slave_dev);
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#901: FILE: ./net/batman-adv/soft-interface.c:901:
+ * batadv_softif_slave_del() - Delete a slave iface from a batadv_soft_interface
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#901: FILE: ./net/batman-adv/soft-interface.c:901:
+ * batadv_softif_slave_del() - Delete a slave iface from a batadv_soft_interface
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#907: FILE: ./net/batman-adv/soft-interface.c:907:
+static int batadv_softif_slave_del(struct net_device *dev,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#908: FILE: ./net/batman-adv/soft-interface.c:908:
+ struct net_device *slave_dev)
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#913: FILE: ./net/batman-adv/soft-interface.c:913:
+ hard_iface = batadv_hardif_get_by_netdev(slave_dev);
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#939: FILE: ./net/batman-adv/soft-interface.c:939:
+ .ndo_add_slave = batadv_softif_slave_add,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#939: FILE: ./net/batman-adv/soft-interface.c:939:
+ .ndo_add_slave = batadv_softif_slave_add,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#940: FILE: ./net/batman-adv/soft-interface.c:940:
+ .ndo_del_slave = batadv_softif_slave_del,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#940: FILE: ./net/batman-adv/soft-interface.c:940:
+ .ndo_del_slave = batadv_softif_slave_del,
total: 0 errors, 0 warnings, 15 checks, 1180 lines checked
master: checkpatch ./net/batman-adv/sysfs.c
-------------------------------------------
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#378: FILE: ./net/batman-adv/sysfs.c:378:
+ struct net_device *slave_dev,
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#409: FILE: ./net/batman-adv/sysfs.c:409:
+ if (slave_dev)
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#410: FILE: ./net/batman-adv/sysfs.c:410:
+ snprintf(ifname, sizeof(ifname), "%s: ", slave_dev->name);
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#425: FILE: ./net/batman-adv/sysfs.c:425:
+ struct net_device *slave_dev)
CHECK: Use of 'slave' is deprecated, please '(secondary|target|...)', instead.
#429: FILE: ./net/batman-adv/sysfs.c:429:
+ ret = batadv_store_uint_attr(buff, count, net_dev, slave_dev,
total: 0 errors, 0 warnings, 5 checks, 1272 lines checked
Statistics
==========
maint
-----
Failed tests: 0
Started build tests: 121
Tested Linux versions: 32
Tested configs: 103
master
------
Failed tests: 5
Started build tests: 115
Tested Linux versions: 32
Tested configs: 102