Name of failed tests ====================
* checkpatch master ./net/batman-adv/gateway_client.c * checkpatch next ./net/batman-adv/bat_iv_ogm.c * checkpatch next ./net/batman-adv/icmp_socket.c * checkpatch next ./net/batman-adv/network-coding.c * difference between net-next and batadv next * headers master * headers next * unused_symbols master linux-2.6.29 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.29 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.29 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.30 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.30 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.30 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.31 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.31 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.31 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.32 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.32 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.32 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.33 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.33 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.33 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.34 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.34 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.34 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.35 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.35 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.35 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.36 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.36 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.36 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.37 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.37 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.37 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.38 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.38 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.38 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-2.6.39 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-2.6.39 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-2.6.39 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.0 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.0 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.0 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.1 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.1 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.1 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.10 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.10 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.10 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.11 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.11 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.11 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.12 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.12 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.12 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.13 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.13 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.13 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.14 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.14 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.14 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.15 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.15 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.15 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.16 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.16 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.16 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.17 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.17 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.17 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.18 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.18 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.18 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.19 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.19 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.19 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.2 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.2 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.2 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.3 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.3 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.3 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.4 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.4 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.4 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.5 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.5 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.5 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.6 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.6 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.6 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.7 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.7 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.7 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.8 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.8 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.8 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-3.9 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-3.9 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-3.9 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-4.0 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-4.0 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-4.0 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y * unused_symbols master linux-4.1 cfg: BLA=n DAT=n DEBUG=y NC=n MCAST=y * unused_symbols master linux-4.1 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n * unused_symbols master linux-4.1 cfg: BLA=n DAT=y DEBUG=y NC=y MCAST=y
Output of different failed tests ================================
checkpatch master ./net/batman-adv/gateway_client.c ---------------------------------------------------
CHECK: Blank lines aren't necessary after an open brace '{' #568: FILE: ./net/batman-adv/gateway_client.c:568: + &bat_priv->gw.list, list) { +
total: 0 errors, 0 warnings, 1 checks, 875 lines checked
checkpatch next ./net/batman-adv/bat_iv_ogm.c ---------------------------------------------
WARNING: suspect code indent for conditional statements (16, 32) #972: FILE: ./net/batman-adv/bat_iv_ogm.c:972: + if (tmp_hard_iface->soft_iface != hard_iface->soft_iface) + continue;
total: 0 errors, 1 warnings, 0 checks, 2009 lines checked
checkpatch next ./net/batman-adv/icmp_socket.c ----------------------------------------------
WARNING: line over 80 characters #340: FILE: ./net/batman-adv/icmp_socket.c:340: + * batadv_socket_receive_packet - schedule an icmp packet to be sent to userspace
total: 0 errors, 1 warnings, 0 checks, 410 lines checked
checkpatch next ./net/batman-adv/network-coding.c -------------------------------------------------
WARNING: line over 80 characters #875: FILE: ./net/batman-adv/network-coding.c:875: + * batadv_nc_update_nc_node - updates stored incoming and outgoing nc node structs
total: 0 errors, 1 warnings, 0 checks, 1959 lines checked
difference between net-next and batadv next -------------------------------------------
net/batman-adv/distributed-arp-table.c | 24 ++----- net/batman-adv/gateway_client.c | 10 +-- net/batman-adv/multicast.c | 79 ++++++------------------ net/batman-adv/network-coding.c | 6 - net/batman-adv/originator.c | 5 - net/batman-adv/send.c | 3 net/batman-adv/soft-interface.c | 10 --- net/batman-adv/translation-table.c | 45 +++---------- net/batman-adv/types.h | 15 +--- 9 files changed, 58 insertions(+), 139 deletions(-)
headers master --------------
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c index 634c7e3..281cb0e 100644 --- a/net/batman-adv/gateway_client.c +++ b/net/batman-adv/gateway_client.c @@ -27,7 +27,6 @@ #include <linux/in.h> #include <linux/ip.h> #include <linux/ipv6.h> -#include <linux/jiffies.h> #include <linux/kernel.h> #include <linux/list.h> #include <linux/netdevice.h>
headers next ------------
diff --git a/net/batman-adv/bridge_loop_avoidance.h b/net/batman-adv/bridge_loop_avoidance.h index 0282690..774b005 100644 --- a/net/batman-adv/bridge_loop_avoidance.h +++ b/net/batman-adv/bridge_loop_avoidance.h @@ -22,9 +22,6 @@
#include <linux/types.h>
-struct batadv_hard_iface; -struct batadv_orig_node; -struct batadv_priv; struct seq_file; struct sk_buff;
diff --git a/net/batman-adv/debugfs.h b/net/batman-adv/debugfs.h index 187acdc..80ab8d6 100644 --- a/net/batman-adv/debugfs.h +++ b/net/batman-adv/debugfs.h @@ -22,7 +22,6 @@
#include <linux/kconfig.h>
-struct batadv_hard_iface; struct net_device;
#define BATADV_DEBUGFS_SUBDIR "batman_adv" diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c index 1caf7d2..028eb6a 100644 --- a/net/batman-adv/distributed-arp-table.c +++ b/net/batman-adv/distributed-arp-table.c @@ -19,6 +19,7 @@ #include "main.h"
#include <linux/atomic.h> +#include <linux/bitops.h> #include <linux/byteorder/generic.h> #include <linux/errno.h> #include <linux/etherdevice.h> @@ -40,7 +41,6 @@ #include <linux/string.h> #include <linux/workqueue.h> #include <net/arp.h> - #include "hard-interface.h" #include "hash.h" #include "originator.h" diff --git a/net/batman-adv/gateway_common.h b/net/batman-adv/gateway_common.h index bd5c812..ab893e3 100644 --- a/net/batman-adv/gateway_common.h +++ b/net/batman-adv/gateway_common.h @@ -22,7 +22,6 @@
#include <linux/types.h>
-struct batadv_priv; struct net_device;
enum batadv_gw_modes { diff --git a/net/batman-adv/icmp_socket.h b/net/batman-adv/icmp_socket.h index 7de7fce..e937143 100644 --- a/net/batman-adv/icmp_socket.h +++ b/net/batman-adv/icmp_socket.h @@ -23,7 +23,6 @@ #include <linux/types.h>
struct batadv_icmp_header; -struct batadv_priv;
#define BATADV_ICMP_SOCKET "socket"
diff --git a/net/batman-adv/multicast.c b/net/batman-adv/multicast.c index 8bdd69f..32d95c2 100644 --- a/net/batman-adv/multicast.c +++ b/net/batman-adv/multicast.c @@ -19,6 +19,8 @@ #include "main.h"
#include <linux/atomic.h> +#include <linux/bitops.h> +#include <linux/bug.h> #include <linux/byteorder/generic.h> #include <linux/errno.h> #include <linux/etherdevice.h> @@ -40,7 +42,6 @@ #include <linux/types.h> #include <net/addrconf.h> #include <net/ipv6.h> - #include "packet.h" #include "translation-table.h"
diff --git a/net/batman-adv/multicast.h b/net/batman-adv/multicast.h index beb6e56..8f3cb04 100644 --- a/net/batman-adv/multicast.h +++ b/net/batman-adv/multicast.h @@ -20,8 +20,6 @@
#include "main.h"
-struct batadv_orig_node; -struct batadv_priv; struct sk_buff;
/** diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c index 55a0b28..cfdc80d 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c @@ -19,6 +19,7 @@ #include "main.h"
#include <linux/atomic.h> +#include <linux/bitops.h> #include <linux/byteorder/generic.h> #include <linux/compiler.h> #include <linux/debugfs.h> diff --git a/net/batman-adv/network-coding.h b/net/batman-adv/network-coding.h index 5b79aa8..8f6d4ad 100644 --- a/net/batman-adv/network-coding.h +++ b/net/batman-adv/network-coding.h @@ -22,11 +22,7 @@
#include <linux/types.h>
-struct batadv_nc_node; -struct batadv_neigh_node; struct batadv_ogm_packet; -struct batadv_orig_node; -struct batadv_priv; struct net_device; struct seq_file; struct sk_buff; diff --git a/net/batman-adv/routing.h b/net/batman-adv/routing.h index 6bc29d3..8557e69 100644 --- a/net/batman-adv/routing.h +++ b/net/batman-adv/routing.h @@ -22,10 +22,6 @@
#include <linux/types.h>
-struct batadv_hard_iface; -struct batadv_neigh_node; -struct batadv_orig_node; -struct batadv_priv; struct sk_buff;
bool batadv_check_management_packet(struct sk_buff *skb, diff --git a/net/batman-adv/send.h b/net/batman-adv/send.h index 0536835..78808b0 100644 --- a/net/batman-adv/send.h +++ b/net/batman-adv/send.h @@ -25,9 +25,6 @@
#include "packet.h"
-struct batadv_hard_iface; -struct batadv_orig_node; -struct batadv_priv; struct sk_buff; struct work_struct;
diff --git a/net/batman-adv/soft-interface.h b/net/batman-adv/soft-interface.h index 578e8a6..88be1fc 100644 --- a/net/batman-adv/soft-interface.h +++ b/net/batman-adv/soft-interface.h @@ -18,14 +18,9 @@ #ifndef _NET_BATMAN_ADV_SOFT_INTERFACE_H_ #define _NET_BATMAN_ADV_SOFT_INTERFACE_H_
-#include "main.h" - #include <net/rtnetlink.h> +#include "main.h"
-struct batadv_hard_iface; -struct batadv_orig_node; -struct batadv_priv; -struct batadv_softif_vlan; struct net_device; struct sk_buff;
diff --git a/net/batman-adv/sysfs.h b/net/batman-adv/sysfs.h index 2294583..6197442 100644 --- a/net/batman-adv/sysfs.h +++ b/net/batman-adv/sysfs.h @@ -23,8 +23,6 @@ #include <linux/sysfs.h> #include <linux/types.h>
-struct batadv_priv; -struct batadv_softif_vlan; struct kobject; struct net_device;
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 7986ec5..63ef70a 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -19,6 +19,7 @@ #include "main.h"
#include <linux/atomic.h> +#include <linux/bitops.h> #include <linux/bug.h> #include <linux/byteorder/generic.h> #include <linux/compiler.h> @@ -42,7 +43,6 @@ #include <linux/string.h> #include <linux/workqueue.h> #include <net/net_namespace.h> - #include "bridge_loop_avoidance.h" #include "hard-interface.h" #include "hash.h" diff --git a/net/batman-adv/translation-table.h b/net/batman-adv/translation-table.h index 6acc25d..eb5a200 100644 --- a/net/batman-adv/translation-table.h +++ b/net/batman-adv/translation-table.h @@ -22,8 +22,6 @@
#include <linux/types.h>
-struct batadv_orig_node; -struct batadv_priv; struct net_device; struct seq_file;
unused_symbols master linux-4.1 cfg: BLA=n DAT=y DEBUG=n NC=n MCAST=n ---------------------------------------------------------------------
batadv_neigh_node_get