Name of failed tests ====================
* Multiline comment ending at a non-empty line ecsv/batman_v_test * Multiline comment starting with empty line ecsv/batman_v_test * checkpatch ecsv/batman_v_test ./net/batman-adv/bat_v.c * checkpatch ecsv/batman_v_test ./net/batman-adv/bat_v_elp.c * checkpatch ecsv/batman_v_test ./net/batman-adv/bat_v_ogm.c * checkpatch ecsv/batman_v_test ./net/batman-adv/sysfs.c * cppcheck ecsv/batman_v_test * headers ecsv/batman_v_test * kerneldoc ecsv/batman_v_test ./net/batman-adv/bat_iv_ogm.c * kerneldoc ecsv/batman_v_test ./net/batman-adv/bat_v.c * kerneldoc ecsv/batman_v_test ./net/batman-adv/bat_v_elp.c * kerneldoc ecsv/batman_v_test ./net/batman-adv/bat_v_ogm.c * kerneldoc ecsv/batman_v_test ./net/batman-adv/gateway_common.c * kerneldoc ecsv/batman_v_test ./net/batman-adv/packet.h * kerneldoc ecsv/batman_v_test ./net/batman-adv/send.c * sparse ecsv/batman_v_test linux-2.6.29 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.29 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.30 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.30 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.31 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.31 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.32 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.32 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.33 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.33 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.34 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.34 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.35 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.35 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.36 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.36 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.37 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-2.6.37 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * sparse ecsv/batman_v_test linux-3.14 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-3.15 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-3.16 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-3.16 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y * sparse ecsv/batman_v_test linux-3.17 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-3.17 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y * sparse ecsv/batman_v_test linux-3.18 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-3.18 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y * sparse ecsv/batman_v_test linux-3.19 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-3.19 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y * sparse ecsv/batman_v_test linux-4.0 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-4.0 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y * sparse ecsv/batman_v_test linux-4.1 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-4.1 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y * sparse ecsv/batman_v_test linux-4.2 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-4.2 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y * sparse ecsv/batman_v_test linux-4.3 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * sparse ecsv/batman_v_test linux-4.3 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y * unused_symbols ecsv/batman_v_test linux-2.6.38 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-2.6.38 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-2.6.39 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-2.6.39 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.0 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.0 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.1 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.1 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.10 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.10 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.11 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.11 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.12 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.12 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.13 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.13 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.14 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.14 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.15 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.15 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.16 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.16 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.17 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.17 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.18 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.18 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.19 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.19 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.2 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.2 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.3 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.3 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.4 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.4 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.5 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.5 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.6 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.6 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.7 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.7 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.8 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.8 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.9 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-3.9 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-4.0 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-4.0 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-4.1 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-4.1 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-4.2 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-4.2 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-4.3 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * unused_symbols ecsv/batman_v_test linux-4.3 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.29 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.29 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.30 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.30 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.31 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.31 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.32 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.32 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.33 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.33 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.34 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.34 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.35 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.35 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.36 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.36 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.37 cfg: BLA=n DAT=n DEBUG=y NC=y MCAST=n BATMAN_V=n * wrong namespace symbols ecsv/batman_v_test linux-2.6.37 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n
Output of different failed tests ================================
Multiline comment ending at a non-empty line ecsv/batman_v_test ---------------------------------------------------------------
./net/batman-adv/bat_v_elp.c:416: * if the router seems to have been restarted. */
Multiline comment starting with empty line ecsv/batman_v_test -------------------------------------------------------------
./net/batman-adv/bat_v_ogm.c:1:/* ./net/batman-adv/bat_v_ogm.h:1:/*
checkpatch ecsv/batman_v_test ./net/batman-adv/bat_v.c ------------------------------------------------------
CHECK: Prefer kernel type 'u32' over 'uint32_t' #118: FILE: ./net/batman-adv/bat_v.c:118: + uint32_t throughput;
WARNING: Prefer seq_puts to seq_printf #159: FILE: ./net/batman-adv/bat_v.c:159: + seq_printf(seq, "No batman nodes in range ...\n");
CHECK: Prefer kernel type 'u32' over 'uint32_t' #180: FILE: ./net/batman-adv/bat_v.c:180: + uint32_t i;
CHECK: Prefer kernel type 'u32' over 'uint32_t' #252: FILE: ./net/batman-adv/bat_v.c:252: + uint32_t threshold;
total: 0 errors, 1 warnings, 3 checks, 335 lines checked
checkpatch ecsv/batman_v_test ./net/batman-adv/bat_v_elp.c ----------------------------------------------------------
ERROR: trailing whitespace #111: FILE: ./net/batman-adv/bat_v_elp.c:111: +^I^Ibatadv_info(hard_iface->soft_iface, "WiFi driver or ethtool info does not provide information about link speeds on interface %s, therefore defaulting to hardcoded throughput values of %d kbit/s. Consider overriding the throughput manually or checking your driver.\n", $
WARNING: printk() should include KERN_ facility level #114: FILE: ./net/batman-adv/bat_v_elp.c:114: + printk("\n");
WARNING: line over 80 characters #157: FILE: ./net/batman-adv/bat_v_elp.c:157: +static bool batadv_v_elp_wifi_neigh_probe(struct batadv_hardif_neigh_node *neigh)
WARNING: line over 80 characters #185: FILE: ./net/batman-adv/bat_v_elp.c:185: + probe_len - hard_iface->bat_v.elp_skb->len,
WARNING: line over 80 characters #413: FILE: ./net/batman-adv/bat_v_elp.c:413: + seqno_diff = ntohl(elp_packet->seqno) - hardif_neigh->bat_v.elp_latest_seqno;
WARNING: Block comments use a trailing */ on a separate line #416: FILE: ./net/batman-adv/bat_v_elp.c:416: + * if the router seems to have been restarted. */
total: 1 errors, 5 warnings, 0 checks, 485 lines checked
checkpatch ecsv/batman_v_test ./net/batman-adv/bat_v_ogm.c ----------------------------------------------------------
WARNING: line over 80 characters #260: FILE: ./net/batman-adv/bat_v_ogm.c:260: + neigh_seq_diff = neigh_ifinfo->bat_v.last_seqno - router_ifinfo->bat_v.last_seqno;
WARNING: line over 80 characters #417: FILE: ./net/batman-adv/bat_v_ogm.c:417: + batadv_dbg(BATADV_DBG_BATMAN, bat_priv, "Last reset: %ld, %ld\n", orig_ifinfo->batman_seqno_reset, jiffies);
CHECK: Please don't use multiple blank lines #616: FILE: ./net/batman-adv/bat_v_ogm.c:616: + +
total: 0 errors, 2 warnings, 1 checks, 813 lines checked
checkpatch ecsv/batman_v_test ./net/batman-adv/sysfs.c ------------------------------------------------------
WARNING: line over 80 characters #249: FILE: ./net/batman-adv/sysfs.c:249: + struct batadv_hard_iface *hard_iface; \
WARNING: line over 80 characters #260: FILE: ./net/batman-adv/sysfs.c:260: + batadv_hardif_free_ref(hard_iface); \
WARNING: line over 80 characters #278: FILE: ./net/batman-adv/sysfs.c:278: + batadv_hardif_free_ref(hard_iface); \
total: 0 errors, 3 warnings, 0 checks, 1084 lines checked
cppcheck ecsv/batman_v_test ---------------------------
[net/batman-adv/bat_v_ogm.c:627] -> [net/batman-adv/bat_v_ogm.c:635]: (performance) Variable 'ethhdr' is reassigned a value before the old one has been used.
headers ecsv/batman_v_test --------------------------
diff --git a/net/batman-adv/bat_v.c b/net/batman-adv/bat_v.c index 98b62ef..fcdb5c4 100644 --- a/net/batman-adv/bat_v.c +++ b/net/batman-adv/bat_v.c @@ -15,14 +15,24 @@ * along with this program; if not, see http://www.gnu.org/licenses/. */
-#include "main.h" +#include <linux/atomic.h> +#include <linux/bug.h> +#include <linux/cache.h> +#include <linux/init.h> +#include <linux/jiffies.h> +#include <linux/netdevice.h> +#include <linux/rculist.h> +#include <linux/rcupdate.h> +#include <linux/seq_file.h> +#include <linux/types.h> +#include <linux/workqueue.h> #include "bat_algo.h" - -#include <linux/average.h> - #include "bat_v_elp.h" #include "bat_v_ogm.h" +#include "hash.h" +#include "main.h" #include "originator.h" +#include "packet.h"
static int batadv_v_iface_enable(struct batadv_hard_iface *hard_iface) { diff --git a/net/batman-adv/bat_v_elp.c b/net/batman-adv/bat_v_elp.c index 887f5ae..2e03779 100644 --- a/net/batman-adv/bat_v_elp.c +++ b/net/batman-adv/bat_v_elp.c @@ -15,19 +15,37 @@ * along with this program; if not, see http://www.gnu.org/licenses/. */
-#include <linux/average.h> +#include <linux/atomic.h> +#include <linux/byteorder/generic.h> +#include <linux/errno.h> +#include <linux/etherdevice.h> +#include <linux/fs.h> +#include <linux/if_ether.h> +#include <linux/jiffies.h> +#include <linux/kernel.h> +#include <linux/netdevice.h> +#include <linux/printk.h> +#include <linux/random.h> +#include <linux/rculist.h> +#include <linux/rcupdate.h> +#include <linux/rtnetlink.h> +#include <linux/skbuff.h> +#include <linux/stddef.h> +#include <linux/string.h> +#include <linux/types.h> +#include <linux/workqueue.h> #include <net/cfg80211.h> #include <linux/ethtool.h>
-#include "main.h" -#include "hard-interface.h" -#include "send.h" #include "bat_algo.h" #include "bat_v_elp.h" #include "bat_v_ogm.h" +#include "hard-interface.h" +#include "main.h" #include "originator.h" +#include "packet.h" #include "routing.h" -#include "soft-interface.h" +#include "send.h"
/** * batadv_v_elp_start_timer - restart timer for ELP periodic work diff --git a/net/batman-adv/bat_v_elp.h b/net/batman-adv/bat_v_elp.h index 87844ab..682fe27 100644 --- a/net/batman-adv/bat_v_elp.h +++ b/net/batman-adv/bat_v_elp.h @@ -17,6 +17,9 @@
#include "main.h"
+struct sk_buff; +struct work_struct; + #ifndef _NET_BATMAN_ADV_BAT_V_ELP_H_ #define _NET_BATMAN_ADV_BAT_V_ELP_H_
diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c index 6beec22..e583b43 100644 --- a/net/batman-adv/bat_v_ogm.c +++ b/net/batman-adv/bat_v_ogm.c @@ -16,14 +16,31 @@ * along with this program; if not, see http://www.gnu.org/licenses/. */
-#include "main.h" - -#include <linux/average.h> - -#include "bat_v_elp.h" +#include <linux/atomic.h> +#include <linux/byteorder/generic.h> +#include <linux/errno.h> +#include <linux/etherdevice.h> +#include <linux/fs.h> +#include <linux/if_ether.h> +#include <linux/jiffies.h> +#include <linux/kernel.h> +#include <linux/list.h> +#include <linux/netdevice.h> +#include <linux/random.h> +#include <linux/rculist.h> +#include <linux/rcupdate.h> +#include <linux/skbuff.h> +#include <linux/slab.h> +#include <linux/stddef.h> +#include <linux/string.h> +#include <linux/types.h> +#include <linux/workqueue.h> #include "bat_v_ogm.h" #include "hard-interface.h" +#include "hash.h" +#include "main.h" #include "originator.h" +#include "packet.h" #include "routing.h" #include "send.h" #include "translation-table.h" diff --git a/net/batman-adv/bat_v_ogm.h b/net/batman-adv/bat_v_ogm.h index c96e181..493ba75 100644 --- a/net/batman-adv/bat_v_ogm.h +++ b/net/batman-adv/bat_v_ogm.h @@ -19,6 +19,10 @@ #ifndef _BATAMAN_ADV_BATADV_V_OGM_H_ #define _BATAMAN_ADV_BATADV_V_OGM_H_
+struct batadv_hard_iface; +struct batadv_priv; +struct sk_buff; + int batadv_v_ogm_init(struct batadv_priv *bat_priv); void batadv_v_ogm_free(struct batadv_priv *bat_priv); int batadv_v_ogm_iface_enable(struct batadv_hard_iface *hard_iface);
kerneldoc ecsv/batman_v_test ./net/batman-adv/bat_iv_ogm.c ----------------------------------------------------------
./net/batman-adv/bat_iv_ogm.c:407: warning: No description found for return value of 'batadv_iv_ogm_aggr_packet'
kerneldoc ecsv/batman_v_test ./net/batman-adv/bat_v.c -----------------------------------------------------
./net/batman-adv/bat_v.c:286: warning: No description found for return value of 'batadv_v_mesh_init' ./net/batman-adv/bat_v.c:308: warning: No description found for return value of 'batadv_v_init'
kerneldoc ecsv/batman_v_test ./net/batman-adv/bat_v_elp.c ---------------------------------------------------------
./net/batman-adv/bat_v_elp.c:54: warning: No description found for return value of 'batadv_v_elp_get_throughput' ./net/batman-adv/bat_v_elp.c:300: warning: No description found for return value of 'batadv_v_elp_iface_enable' ./net/batman-adv/bat_v_elp.c:446: warning: No description found for return value of 'batadv_v_elp_packet_recv'
kerneldoc ecsv/batman_v_test ./net/batman-adv/bat_v_ogm.c ---------------------------------------------------------
./net/batman-adv/bat_v_ogm.c:42: warning: No description found for return value of 'batadv_v_ogm_orig_get' ./net/batman-adv/bat_v_ogm.c:193: warning: No description found for return value of 'batadv_v_ogm_iface_enable' ./net/batman-adv/bat_v_ogm.c:232: warning: No description found for parameter 'neigh_node' ./net/batman-adv/bat_v_ogm.c:301: warning: No description found for return value of 'batadv_v_forward_penalty' ./net/batman-adv/bat_v_ogm.c:395: warning: No description found for return value of 'batadv_v_ogm_metric_update' ./net/batman-adv/bat_v_ogm.c:478: warning: No description found for parameter 'ethhdr' ./net/batman-adv/bat_v_ogm.c:478: warning: Excess function parameter 'eth_hdr' description in 'batadv_v_ogm_route_update' ./net/batman-adv/bat_v_ogm.c:478: warning: Excess function parameter 'path_throughput' description in 'batadv_v_ogm_route_update' ./net/batman-adv/bat_v_ogm.c:580: warning: No description found for parameter 'ethhdr' ./net/batman-adv/bat_v_ogm.c:580: warning: Excess function parameter 'eth_hdr' description in 'batadv_v_ogm_process_per_outif' ./net/batman-adv/bat_v_ogm.c:606: warning: No description found for return value of 'batadv_v_ogm_aggr_packet' ./net/batman-adv/bat_v_ogm.c:720: warning: No description found for return value of 'batadv_v_ogm_packet_recv' ./net/batman-adv/bat_v_ogm.c:776: warning: No description found for return value of 'batadv_v_ogm_init'
kerneldoc ecsv/batman_v_test ./net/batman-adv/gateway_common.c --------------------------------------------------------------
./net/batman-adv/gateway_common.c:44: warning: No description found for parameter 'description'
kerneldoc ecsv/batman_v_test ./net/batman-adv/packet.h ------------------------------------------------------
./net/batman-adv/packet.h:264: warning: No description found for parameter 'flags'
kerneldoc ecsv/batman_v_test ./net/batman-adv/send.c ----------------------------------------------------
./net/batman-adv/send.c:70: warning: No description found for parameter 'dst_addr' ./net/batman-adv/send.c:70: warning: Excess function parameter 'neigh_node' description in 'batadv_send_skb_packet' ./net/batman-adv/send.c:70: warning: No description found for return value of 'batadv_send_skb_packet'
sparse ecsv/batman_v_test linux-2.6.37 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n ---------------------------------------------------------------------------
/home/build_test/build_env/tmp/compat-include//linux/average.h:25:16: error: unable to open 'linux/average.h' make[2]: *** [/home/build_test/build_env/tmp/net/batman-adv/bat_iv_ogm.o] Error 1 make[1]: *** [_module_/home/build_test/build_env/tmp/net/batman-adv] Error 2 make: *** [all] Error 2
sparse ecsv/batman_v_test linux-3.17 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y ---------------------------------------------------------------------------
/home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: warning: incorrect type in argument 2 (different base types) /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: expected unsigned char const [usertype] *src /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: got struct batadv_neigh_node *[assigned] second_dest /home/build_test/build_env/tmp/net/batman-adv/network-coding.c: In function 'batadv_nc_code_packets': /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:45: warning: passing argument 2 of 'ether_addr_copy' from incompatible pointer type ether_addr_copy(coded_packet->second_dest, second_dest); ^ In file included from /home/build_test/build_env/tmp/compat-include/linux/etherdevice.h:25:0, from /home/build_test/build_env/tmp/net/batman-adv/main.h:183, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.h:21, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:18: include/linux/etherdevice.h:227:20: note: expected 'const u8 *' but argument is of type 'struct batadv_neigh_node *' static inline void ether_addr_copy(u8 *dst, const u8 *src) ^
sparse ecsv/batman_v_test linux-3.19 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y ---------------------------------------------------------------------------
/home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: warning: incorrect type in argument 2 (different base types) /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: expected unsigned char const [usertype] *src /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: got struct batadv_neigh_node *[assigned] second_dest /home/build_test/build_env/tmp/net/batman-adv/network-coding.c: In function 'batadv_nc_code_packets': /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:45: warning: passing argument 2 of 'ether_addr_copy' from incompatible pointer type ether_addr_copy(coded_packet->second_dest, second_dest); ^ In file included from /home/build_test/build_env/tmp/compat-include/linux/etherdevice.h:25:0, from /home/build_test/build_env/tmp/net/batman-adv/main.h:183, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.h:21, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:18: include/linux/etherdevice.h:228:20: note: expected 'const u8 *' but argument is of type 'struct batadv_neigh_node *' static inline void ether_addr_copy(u8 *dst, const u8 *src) ^
sparse ecsv/batman_v_test linux-4.0 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y ---------------------------------------------------------------------------
/home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: warning: incorrect type in argument 2 (different base types) /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: expected unsigned char const [usertype] *src /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: got struct batadv_neigh_node *[assigned] second_dest /home/build_test/build_env/tmp/net/batman-adv/network-coding.c: In function 'batadv_nc_code_packets': /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:45: warning: passing argument 2 of 'ether_addr_copy' from incompatible pointer type ether_addr_copy(coded_packet->second_dest, second_dest); ^ In file included from /home/build_test/build_env/tmp/compat-include/linux/etherdevice.h:25:0, from /home/build_test/build_env/tmp/net/batman-adv/main.h:183, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.h:21, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:18: include/linux/etherdevice.h:232:20: note: expected 'const u8 *' but argument is of type 'struct batadv_neigh_node *' static inline void ether_addr_copy(u8 *dst, const u8 *src) ^
sparse ecsv/batman_v_test linux-4.1 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y ---------------------------------------------------------------------------
/home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: warning: incorrect type in argument 2 (different base types) /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: expected unsigned char const [usertype] *src /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: got struct batadv_neigh_node *[assigned] second_dest /home/build_test/build_env/tmp/net/batman-adv/network-coding.c: In function 'batadv_nc_code_packets': /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:45: warning: passing argument 2 of 'ether_addr_copy' from incompatible pointer type ether_addr_copy(coded_packet->second_dest, second_dest); ^ In file included from /home/build_test/build_env/tmp/compat-include/linux/etherdevice.h:25:0, from /home/build_test/build_env/tmp/net/batman-adv/main.h:183, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.h:21, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:18: include/linux/etherdevice.h:231:20: note: expected 'const u8 *' but argument is of type 'struct batadv_neigh_node *' static inline void ether_addr_copy(u8 *dst, const u8 *src) ^
sparse ecsv/batman_v_test linux-4.3 cfg: BLA=y DAT=n DEBUG=y NC=y MCAST=y BATMAN_V=y ---------------------------------------------------------------------------
/home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: warning: incorrect type in argument 2 (different base types) /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: expected unsigned char const [usertype] *src /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:52: got struct batadv_neigh_node *[assigned] second_dest /home/build_test/build_env/tmp/net/batman-adv/network-coding.c: In function 'batadv_nc_code_packets': /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:1156:45: warning: passing argument 2 of 'ether_addr_copy' from incompatible pointer type ether_addr_copy(coded_packet->second_dest, second_dest); ^ In file included from /home/build_test/build_env/tmp/compat-include/linux/etherdevice.h:25:0, from /home/build_test/build_env/tmp/net/batman-adv/main.h:183, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.h:21, from /home/build_test/build_env/tmp/net/batman-adv/network-coding.c:18: include/linux/etherdevice.h:271:20: note: expected 'const u8 *' but argument is of type 'struct batadv_neigh_node *' static inline void ether_addr_copy(u8 *dst, const u8 *src) ^
unused_symbols ecsv/batman_v_test linux-4.3 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n ---------------------------------------------------------------------------
batadv_parse_throughput batadv_send_skb_packet
wrong namespace symbols ecsv/batman_v_test linux-2.6.37 cfg: BLA=y DAT=y DEBUG=n NC=n MCAST=y BATMAN_V=n ---------------------------------------------------------------------------
nm: './net/batman-adv/*.o': No such file