Build check errors found: 2014-10-01
by postmaster@open-mesh.org
Name of failed tests
====================
checkpatch master bat_iv_ogm.c
checkpatch master bitarray.c
checkpatch master bridge_loop_avoidance.c
checkpatch master debugfs.c
checkpatch master distributed-arp-table.c
checkpatch master fragmentation.c
checkpatch master gateway_client.c
checkpatch master main.c
checkpatch master main.h
checkpatch master originator.c
checkpatch master originator.h
checkpatch master packet.h
checkpatch master routing.c
checkpatch master soft-interface.c
checkpatch master sysfs.c
checkpatch master translation-table.c
checkpatch master types.h
checkpatch next bat_iv_ogm.c
checkpatch next bitarray.c
checkpatch next bridge_loop_avoidance.c
checkpatch next debugfs.c
checkpatch next distributed-arp-table.c
checkpatch next fragmentation.c
checkpatch next gateway_client.c
checkpatch next main.c
checkpatch next main.h
checkpatch next multicast.h
checkpatch next originator.c
checkpatch next originator.h
checkpatch next packet.h
checkpatch next routing.c
checkpatch next soft-interface.c
checkpatch next sysfs.c
checkpatch next translation-table.c
checkpatch next types.h
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
Output of different failed tests
================================
checkpatch master bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1668: FILE: bat_iv_ogm.c:1668:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1981 lines checked
checkpatch master bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#665: FILE: bridge_loop_avoidance.c:665:
+
+
CHECK: Please don't use multiple blank lines
#852: FILE: bridge_loop_avoidance.c:852:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1334: FILE: bridge_loop_avoidance.c:1334:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1350: FILE: bridge_loop_avoidance.c:1350:
+
+
CHECK: Please don't use multiple blank lines
#1393: FILE: bridge_loop_avoidance.c:1393:
+
+
CHECK: Please don't use multiple blank lines
#1483: FILE: bridge_loop_avoidance.c:1483:
+
+
total: 0 errors, 0 warnings, 8 checks, 1729 lines checked
checkpatch master main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#319: FILE: main.h:319:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 390 lines checked
checkpatch master types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#971: FILE: types.h:971:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1257 lines checked
checkpatch next bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1667: FILE: bat_iv_ogm.c:1667:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1980 lines checked
checkpatch next bitarray.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#32: FILE: bitarray.c:32:
+
+
total: 0 errors, 0 warnings, 1 checks, 93 lines checked
checkpatch next bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#663: FILE: bridge_loop_avoidance.c:663:
+
+
CHECK: Please don't use multiple blank lines
#849: FILE: bridge_loop_avoidance.c:849:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1330: FILE: bridge_loop_avoidance.c:1330:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1346: FILE: bridge_loop_avoidance.c:1346:
+
+
CHECK: Please don't use multiple blank lines
#1389: FILE: bridge_loop_avoidance.c:1389:
+
+
CHECK: Please don't use multiple blank lines
#1479: FILE: bridge_loop_avoidance.c:1479:
+
+
total: 0 errors, 0 warnings, 8 checks, 1725 lines checked
checkpatch next debugfs.c:
>>>>>>>>
WARNING: void function return statements are not generally useful
#237: FILE: debugfs.c:237:
+ return;
+}
CHECK: Please use a blank line after function/struct/union/enum declarations
#408: FILE: debugfs.c:408:
+}
+static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
total: 0 errors, 1 warnings, 1 checks, 561 lines checked
checkpatch next distributed-arp-table.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#1103: FILE: distributed-arp-table.c:1103:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 1203 lines checked
checkpatch next fragmentation.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#26: FILE: fragmentation.c:26:
+
+
total: 0 errors, 0 warnings, 1 checks, 498 lines checked
checkpatch next gateway_client.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#778: FILE: gateway_client.c:778:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 879 lines checked
checkpatch next main.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#44: FILE: main.c:44:
+
+
CHECK: No space is necessary after a cast
#438: FILE: main.c:438:
+ BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6);
CHECK: No space is necessary after a cast
#439: FILE: main.c:439:
+ BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24);
CHECK: No space is necessary after a cast
#440: FILE: main.c:440:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20);
CHECK: No space is necessary after a cast
#441: FILE: main.c:441:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20);
CHECK: No space is necessary after a cast
#442: FILE: main.c:442:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116);
CHECK: No space is necessary after a cast
#443: FILE: main.c:443:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10);
CHECK: No space is necessary after a cast
#444: FILE: main.c:444:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18);
CHECK: No space is necessary after a cast
#445: FILE: main.c:445:
+ BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20);
CHECK: No space is necessary after a cast
#446: FILE: main.c:446:
+ BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14);
CHECK: No space is necessary after a cast
#447: FILE: main.c:447:
+ BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46);
CHECK: No space is necessary after a cast
#448: FILE: main.c:448:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_tvlv_packet) != 20);
CHECK: No space is necessary after a cast
#449: FILE: main.c:449:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4);
CHECK: No space is necessary after a cast
#450: FILE: main.c:450:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_gateway_data) != 8);
CHECK: No space is necessary after a cast
#451: FILE: main.c:451:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_vlan_data) != 8);
CHECK: No space is necessary after a cast
#452: FILE: main.c:452:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_change) != 12);
CHECK: No space is necessary after a cast
#453: FILE: main.c:453:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8);
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
#799: FILE: main.c:799:
+ * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate
total: 0 errors, 0 warnings, 18 checks, 1263 lines checked
checkpatch next main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#320: FILE: main.h:320:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 391 lines checked
checkpatch next multicast.h:
>>>>>>>>
WARNING: void function return statements are not generally useful
#54: FILE: multicast.h:54:
+ return;
+}
WARNING: void function return statements are not generally useful
#71: FILE: multicast.h:71:
+ return;
+}
WARNING: void function return statements are not generally useful
#76: FILE: multicast.h:76:
+ return;
+}
total: 0 errors, 3 warnings, 0 checks, 80 lines checked
checkpatch next originator.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#802: FILE: originator.c:802:
+
+
total: 0 errors, 0 warnings, 1 checks, 1177 lines checked
checkpatch next originator.h:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#73: FILE: originator.h:73:
+
+
total: 0 errors, 0 warnings, 1 checks, 126 lines checked
checkpatch next packet.h:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#201: FILE: packet.h:201:
+};
+#pragma pack()
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
#379: FILE: packet.h:379:
+#error "unknown bitfield endianess"
CHECK: 'boundry' may be misspelled - perhaps 'boundary'?
#455: FILE: packet.h:455:
+ * @align: 2 bytes to align the header to a 4 byte boundry
total: 0 errors, 0 warnings, 3 checks, 552 lines checked
checkpatch next routing.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#295: FILE: routing.c:295:
+
+
CHECK: 'choosen' may be misspelled - perhaps 'chosen'?
#458: FILE: routing.c:458:
+ * If this can't be found either, return the previously choosen
total: 0 errors, 0 warnings, 2 checks, 1085 lines checked
checkpatch next soft-interface.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#39: FILE: soft-interface.c:39:
+
+
total: 0 errors, 0 warnings, 1 checks, 1114 lines checked
checkpatch next sysfs.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#154: FILE: sysfs.c:154:
+
+
total: 0 errors, 0 warnings, 1 checks, 944 lines checked
checkpatch next translation-table.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#1783: FILE: translation-table.c:1783:
+
+
CHECK: 'adress' may be misspelled - perhaps 'address'?
#2857: FILE: translation-table.c:2857:
+ * @addr: the mac adress of the client to check
total: 0 errors, 0 warnings, 2 checks, 3712 lines checked
checkpatch next types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#973: FILE: types.h:973:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1259 lines checked
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
8 years, 4 months
[linux-next] LinuxNextTracking branch, master, updated. next-20140930
by batman@open-mesh.org
The following commit has been merged in the master branch:
commit da1731869bda5127994c2472a97881536da0ac86
Author: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Date: Fri Sep 26 10:21:24 2014 +1000
batman-adv: replace strnicmp with strncasecmp
The kernel used to contain two functions for length-delimited,
case-insensitive string comparison, strnicmp with correct semantics and a
slightly buggy strncasecmp. The latter is the POSIX name, so strnicmp was
renamed to strncasecmp, and strnicmp made into a wrapper for the new
strncasecmp to avoid breaking existing users.
To allow the compat wrapper strnicmp to be removed at some point in the
future, and to avoid the extra indirection cost, do
s/strnicmp/strncasecmp/g.
Signed-off-by: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Cc: Marek Lindner <mareklindner(a)neomailbox.ch>
Acked-by: Antonio Quartulli <antonio(a)meshcoding.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c
index 6f5e621..88a1bc3 100644
--- a/net/batman-adv/gateway_common.c
+++ b/net/batman-adv/gateway_common.c
@@ -44,10 +44,10 @@ static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff,
if (strlen(buff) > 4) {
tmp_ptr = buff + strlen(buff) - 4;
- if (strnicmp(tmp_ptr, "mbit", 4) == 0)
+ if (strncasecmp(tmp_ptr, "mbit", 4) == 0)
bw_unit_type = BATADV_BW_UNIT_MBIT;
- if ((strnicmp(tmp_ptr, "kbit", 4) == 0) ||
+ if ((strncasecmp(tmp_ptr, "kbit", 4) == 0) ||
(bw_unit_type == BATADV_BW_UNIT_MBIT))
*tmp_ptr = '\0';
}
@@ -77,10 +77,10 @@ static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff,
if (strlen(slash_ptr + 1) > 4) {
tmp_ptr = slash_ptr + 1 - 4 + strlen(slash_ptr + 1);
- if (strnicmp(tmp_ptr, "mbit", 4) == 0)
+ if (strncasecmp(tmp_ptr, "mbit", 4) == 0)
bw_unit_type = BATADV_BW_UNIT_MBIT;
- if ((strnicmp(tmp_ptr, "kbit", 4) == 0) ||
+ if ((strncasecmp(tmp_ptr, "kbit", 4) == 0) ||
(bw_unit_type == BATADV_BW_UNIT_MBIT))
*tmp_ptr = '\0';
}
--
LinuxNextTracking
8 years, 4 months
Build check errors found: 2014-09-30
by postmaster@open-mesh.org
Name of failed tests
====================
checkpatch master bat_iv_ogm.c
checkpatch master bitarray.c
checkpatch master bridge_loop_avoidance.c
checkpatch master debugfs.c
checkpatch master distributed-arp-table.c
checkpatch master fragmentation.c
checkpatch master gateway_client.c
checkpatch master main.c
checkpatch master main.h
checkpatch master originator.c
checkpatch master originator.h
checkpatch master packet.h
checkpatch master routing.c
checkpatch master soft-interface.c
checkpatch master sysfs.c
checkpatch master translation-table.c
checkpatch master types.h
checkpatch next bat_iv_ogm.c
checkpatch next bitarray.c
checkpatch next bridge_loop_avoidance.c
checkpatch next debugfs.c
checkpatch next distributed-arp-table.c
checkpatch next fragmentation.c
checkpatch next gateway_client.c
checkpatch next main.c
checkpatch next main.h
checkpatch next multicast.h
checkpatch next originator.c
checkpatch next originator.h
checkpatch next packet.h
checkpatch next routing.c
checkpatch next soft-interface.c
checkpatch next sysfs.c
checkpatch next translation-table.c
checkpatch next types.h
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
Output of different failed tests
================================
checkpatch master bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1668: FILE: bat_iv_ogm.c:1668:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1981 lines checked
checkpatch master bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#665: FILE: bridge_loop_avoidance.c:665:
+
+
CHECK: Please don't use multiple blank lines
#852: FILE: bridge_loop_avoidance.c:852:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1334: FILE: bridge_loop_avoidance.c:1334:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1350: FILE: bridge_loop_avoidance.c:1350:
+
+
CHECK: Please don't use multiple blank lines
#1393: FILE: bridge_loop_avoidance.c:1393:
+
+
CHECK: Please don't use multiple blank lines
#1483: FILE: bridge_loop_avoidance.c:1483:
+
+
total: 0 errors, 0 warnings, 8 checks, 1729 lines checked
checkpatch master main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#319: FILE: main.h:319:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 390 lines checked
checkpatch master types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#971: FILE: types.h:971:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1257 lines checked
checkpatch next bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1667: FILE: bat_iv_ogm.c:1667:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1980 lines checked
checkpatch next bitarray.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#32: FILE: bitarray.c:32:
+
+
total: 0 errors, 0 warnings, 1 checks, 93 lines checked
checkpatch next bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#663: FILE: bridge_loop_avoidance.c:663:
+
+
CHECK: Please don't use multiple blank lines
#849: FILE: bridge_loop_avoidance.c:849:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1330: FILE: bridge_loop_avoidance.c:1330:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1346: FILE: bridge_loop_avoidance.c:1346:
+
+
CHECK: Please don't use multiple blank lines
#1389: FILE: bridge_loop_avoidance.c:1389:
+
+
CHECK: Please don't use multiple blank lines
#1479: FILE: bridge_loop_avoidance.c:1479:
+
+
total: 0 errors, 0 warnings, 8 checks, 1725 lines checked
checkpatch next debugfs.c:
>>>>>>>>
WARNING: void function return statements are not generally useful
#237: FILE: debugfs.c:237:
+ return;
+}
CHECK: Please use a blank line after function/struct/union/enum declarations
#408: FILE: debugfs.c:408:
+}
+static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
total: 0 errors, 1 warnings, 1 checks, 561 lines checked
checkpatch next distributed-arp-table.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#1103: FILE: distributed-arp-table.c:1103:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 1203 lines checked
checkpatch next fragmentation.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#26: FILE: fragmentation.c:26:
+
+
total: 0 errors, 0 warnings, 1 checks, 498 lines checked
checkpatch next gateway_client.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#778: FILE: gateway_client.c:778:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 879 lines checked
checkpatch next main.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#44: FILE: main.c:44:
+
+
CHECK: No space is necessary after a cast
#438: FILE: main.c:438:
+ BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6);
CHECK: No space is necessary after a cast
#439: FILE: main.c:439:
+ BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24);
CHECK: No space is necessary after a cast
#440: FILE: main.c:440:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20);
CHECK: No space is necessary after a cast
#441: FILE: main.c:441:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20);
CHECK: No space is necessary after a cast
#442: FILE: main.c:442:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116);
CHECK: No space is necessary after a cast
#443: FILE: main.c:443:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10);
CHECK: No space is necessary after a cast
#444: FILE: main.c:444:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18);
CHECK: No space is necessary after a cast
#445: FILE: main.c:445:
+ BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20);
CHECK: No space is necessary after a cast
#446: FILE: main.c:446:
+ BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14);
CHECK: No space is necessary after a cast
#447: FILE: main.c:447:
+ BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46);
CHECK: No space is necessary after a cast
#448: FILE: main.c:448:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_tvlv_packet) != 20);
CHECK: No space is necessary after a cast
#449: FILE: main.c:449:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4);
CHECK: No space is necessary after a cast
#450: FILE: main.c:450:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_gateway_data) != 8);
CHECK: No space is necessary after a cast
#451: FILE: main.c:451:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_vlan_data) != 8);
CHECK: No space is necessary after a cast
#452: FILE: main.c:452:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_change) != 12);
CHECK: No space is necessary after a cast
#453: FILE: main.c:453:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8);
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
#799: FILE: main.c:799:
+ * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate
total: 0 errors, 0 warnings, 18 checks, 1263 lines checked
checkpatch next main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#320: FILE: main.h:320:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 391 lines checked
checkpatch next multicast.h:
>>>>>>>>
WARNING: void function return statements are not generally useful
#54: FILE: multicast.h:54:
+ return;
+}
WARNING: void function return statements are not generally useful
#71: FILE: multicast.h:71:
+ return;
+}
WARNING: void function return statements are not generally useful
#76: FILE: multicast.h:76:
+ return;
+}
total: 0 errors, 3 warnings, 0 checks, 80 lines checked
checkpatch next originator.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#802: FILE: originator.c:802:
+
+
total: 0 errors, 0 warnings, 1 checks, 1177 lines checked
checkpatch next originator.h:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#73: FILE: originator.h:73:
+
+
total: 0 errors, 0 warnings, 1 checks, 126 lines checked
checkpatch next packet.h:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#201: FILE: packet.h:201:
+};
+#pragma pack()
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
#379: FILE: packet.h:379:
+#error "unknown bitfield endianess"
CHECK: 'boundry' may be misspelled - perhaps 'boundary'?
#455: FILE: packet.h:455:
+ * @align: 2 bytes to align the header to a 4 byte boundry
total: 0 errors, 0 warnings, 3 checks, 552 lines checked
checkpatch next routing.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#295: FILE: routing.c:295:
+
+
CHECK: 'choosen' may be misspelled - perhaps 'chosen'?
#458: FILE: routing.c:458:
+ * If this can't be found either, return the previously choosen
total: 0 errors, 0 warnings, 2 checks, 1085 lines checked
checkpatch next soft-interface.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#39: FILE: soft-interface.c:39:
+
+
total: 0 errors, 0 warnings, 1 checks, 1114 lines checked
checkpatch next sysfs.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#154: FILE: sysfs.c:154:
+
+
total: 0 errors, 0 warnings, 1 checks, 944 lines checked
checkpatch next translation-table.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#1783: FILE: translation-table.c:1783:
+
+
CHECK: 'adress' may be misspelled - perhaps 'address'?
#2857: FILE: translation-table.c:2857:
+ * @addr: the mac adress of the client to check
total: 0 errors, 0 warnings, 2 checks, 3712 lines checked
checkpatch next types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#973: FILE: types.h:973:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1259 lines checked
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
8 years, 4 months
Build check errors found: 2014-09-29
by postmaster@open-mesh.org
Name of failed tests
====================
checkpatch master bat_iv_ogm.c
checkpatch master bitarray.c
checkpatch master bridge_loop_avoidance.c
checkpatch master debugfs.c
checkpatch master distributed-arp-table.c
checkpatch master fragmentation.c
checkpatch master gateway_client.c
checkpatch master main.c
checkpatch master main.h
checkpatch master originator.c
checkpatch master originator.h
checkpatch master packet.h
checkpatch master routing.c
checkpatch master soft-interface.c
checkpatch master sysfs.c
checkpatch master translation-table.c
checkpatch master types.h
checkpatch next bat_iv_ogm.c
checkpatch next bitarray.c
checkpatch next bridge_loop_avoidance.c
checkpatch next debugfs.c
checkpatch next distributed-arp-table.c
checkpatch next fragmentation.c
checkpatch next gateway_client.c
checkpatch next main.c
checkpatch next main.h
checkpatch next multicast.h
checkpatch next originator.c
checkpatch next originator.h
checkpatch next packet.h
checkpatch next routing.c
checkpatch next soft-interface.c
checkpatch next sysfs.c
checkpatch next translation-table.c
checkpatch next types.h
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
Output of different failed tests
================================
checkpatch master bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1668: FILE: bat_iv_ogm.c:1668:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1981 lines checked
checkpatch master bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#665: FILE: bridge_loop_avoidance.c:665:
+
+
CHECK: Please don't use multiple blank lines
#852: FILE: bridge_loop_avoidance.c:852:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1334: FILE: bridge_loop_avoidance.c:1334:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1350: FILE: bridge_loop_avoidance.c:1350:
+
+
CHECK: Please don't use multiple blank lines
#1393: FILE: bridge_loop_avoidance.c:1393:
+
+
CHECK: Please don't use multiple blank lines
#1483: FILE: bridge_loop_avoidance.c:1483:
+
+
total: 0 errors, 0 warnings, 8 checks, 1729 lines checked
checkpatch master main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#319: FILE: main.h:319:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 390 lines checked
checkpatch master types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#971: FILE: types.h:971:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1257 lines checked
checkpatch next bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1667: FILE: bat_iv_ogm.c:1667:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1980 lines checked
checkpatch next bitarray.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#32: FILE: bitarray.c:32:
+
+
total: 0 errors, 0 warnings, 1 checks, 93 lines checked
checkpatch next bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#663: FILE: bridge_loop_avoidance.c:663:
+
+
CHECK: Please don't use multiple blank lines
#849: FILE: bridge_loop_avoidance.c:849:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1330: FILE: bridge_loop_avoidance.c:1330:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1346: FILE: bridge_loop_avoidance.c:1346:
+
+
CHECK: Please don't use multiple blank lines
#1389: FILE: bridge_loop_avoidance.c:1389:
+
+
CHECK: Please don't use multiple blank lines
#1479: FILE: bridge_loop_avoidance.c:1479:
+
+
total: 0 errors, 0 warnings, 8 checks, 1725 lines checked
checkpatch next debugfs.c:
>>>>>>>>
WARNING: void function return statements are not generally useful
#237: FILE: debugfs.c:237:
+ return;
+}
CHECK: Please use a blank line after function/struct/union/enum declarations
#408: FILE: debugfs.c:408:
+}
+static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
total: 0 errors, 1 warnings, 1 checks, 561 lines checked
checkpatch next distributed-arp-table.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#1103: FILE: distributed-arp-table.c:1103:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 1203 lines checked
checkpatch next fragmentation.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#26: FILE: fragmentation.c:26:
+
+
total: 0 errors, 0 warnings, 1 checks, 498 lines checked
checkpatch next gateway_client.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#778: FILE: gateway_client.c:778:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 879 lines checked
checkpatch next main.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#44: FILE: main.c:44:
+
+
CHECK: No space is necessary after a cast
#438: FILE: main.c:438:
+ BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6);
CHECK: No space is necessary after a cast
#439: FILE: main.c:439:
+ BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24);
CHECK: No space is necessary after a cast
#440: FILE: main.c:440:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20);
CHECK: No space is necessary after a cast
#441: FILE: main.c:441:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20);
CHECK: No space is necessary after a cast
#442: FILE: main.c:442:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116);
CHECK: No space is necessary after a cast
#443: FILE: main.c:443:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10);
CHECK: No space is necessary after a cast
#444: FILE: main.c:444:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18);
CHECK: No space is necessary after a cast
#445: FILE: main.c:445:
+ BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20);
CHECK: No space is necessary after a cast
#446: FILE: main.c:446:
+ BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14);
CHECK: No space is necessary after a cast
#447: FILE: main.c:447:
+ BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46);
CHECK: No space is necessary after a cast
#448: FILE: main.c:448:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_tvlv_packet) != 20);
CHECK: No space is necessary after a cast
#449: FILE: main.c:449:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4);
CHECK: No space is necessary after a cast
#450: FILE: main.c:450:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_gateway_data) != 8);
CHECK: No space is necessary after a cast
#451: FILE: main.c:451:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_vlan_data) != 8);
CHECK: No space is necessary after a cast
#452: FILE: main.c:452:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_change) != 12);
CHECK: No space is necessary after a cast
#453: FILE: main.c:453:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8);
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
#799: FILE: main.c:799:
+ * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate
total: 0 errors, 0 warnings, 18 checks, 1263 lines checked
checkpatch next main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#320: FILE: main.h:320:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 391 lines checked
checkpatch next multicast.h:
>>>>>>>>
WARNING: void function return statements are not generally useful
#54: FILE: multicast.h:54:
+ return;
+}
WARNING: void function return statements are not generally useful
#71: FILE: multicast.h:71:
+ return;
+}
WARNING: void function return statements are not generally useful
#76: FILE: multicast.h:76:
+ return;
+}
total: 0 errors, 3 warnings, 0 checks, 80 lines checked
checkpatch next originator.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#802: FILE: originator.c:802:
+
+
total: 0 errors, 0 warnings, 1 checks, 1177 lines checked
checkpatch next originator.h:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#73: FILE: originator.h:73:
+
+
total: 0 errors, 0 warnings, 1 checks, 126 lines checked
checkpatch next packet.h:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#201: FILE: packet.h:201:
+};
+#pragma pack()
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
#379: FILE: packet.h:379:
+#error "unknown bitfield endianess"
CHECK: 'boundry' may be misspelled - perhaps 'boundary'?
#455: FILE: packet.h:455:
+ * @align: 2 bytes to align the header to a 4 byte boundry
total: 0 errors, 0 warnings, 3 checks, 552 lines checked
checkpatch next routing.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#295: FILE: routing.c:295:
+
+
CHECK: 'choosen' may be misspelled - perhaps 'chosen'?
#458: FILE: routing.c:458:
+ * If this can't be found either, return the previously choosen
total: 0 errors, 0 warnings, 2 checks, 1085 lines checked
checkpatch next soft-interface.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#39: FILE: soft-interface.c:39:
+
+
total: 0 errors, 0 warnings, 1 checks, 1114 lines checked
checkpatch next sysfs.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#154: FILE: sysfs.c:154:
+
+
total: 0 errors, 0 warnings, 1 checks, 944 lines checked
checkpatch next translation-table.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#1783: FILE: translation-table.c:1783:
+
+
CHECK: 'adress' may be misspelled - perhaps 'address'?
#2857: FILE: translation-table.c:2857:
+ * @addr: the mac adress of the client to check
total: 0 errors, 0 warnings, 2 checks, 3712 lines checked
checkpatch next types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#973: FILE: types.h:973:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1259 lines checked
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
8 years, 4 months
Build check errors found: 2014-09-28
by postmaster@open-mesh.org
Name of failed tests
====================
checkpatch master bat_iv_ogm.c
checkpatch master bitarray.c
checkpatch master bridge_loop_avoidance.c
checkpatch master debugfs.c
checkpatch master distributed-arp-table.c
checkpatch master fragmentation.c
checkpatch master gateway_client.c
checkpatch master main.c
checkpatch master main.h
checkpatch master originator.c
checkpatch master originator.h
checkpatch master packet.h
checkpatch master routing.c
checkpatch master soft-interface.c
checkpatch master sysfs.c
checkpatch master translation-table.c
checkpatch master types.h
checkpatch next bat_iv_ogm.c
checkpatch next bitarray.c
checkpatch next bridge_loop_avoidance.c
checkpatch next debugfs.c
checkpatch next distributed-arp-table.c
checkpatch next fragmentation.c
checkpatch next gateway_client.c
checkpatch next main.c
checkpatch next main.h
checkpatch next multicast.h
checkpatch next originator.c
checkpatch next originator.h
checkpatch next packet.h
checkpatch next routing.c
checkpatch next soft-interface.c
checkpatch next sysfs.c
checkpatch next translation-table.c
checkpatch next types.h
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
Output of different failed tests
================================
checkpatch master bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1668: FILE: bat_iv_ogm.c:1668:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1981 lines checked
checkpatch master bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#665: FILE: bridge_loop_avoidance.c:665:
+
+
CHECK: Please don't use multiple blank lines
#852: FILE: bridge_loop_avoidance.c:852:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1334: FILE: bridge_loop_avoidance.c:1334:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1350: FILE: bridge_loop_avoidance.c:1350:
+
+
CHECK: Please don't use multiple blank lines
#1393: FILE: bridge_loop_avoidance.c:1393:
+
+
CHECK: Please don't use multiple blank lines
#1483: FILE: bridge_loop_avoidance.c:1483:
+
+
total: 0 errors, 0 warnings, 8 checks, 1729 lines checked
checkpatch master main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#319: FILE: main.h:319:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 390 lines checked
checkpatch master types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#971: FILE: types.h:971:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1257 lines checked
checkpatch next bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1667: FILE: bat_iv_ogm.c:1667:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1980 lines checked
checkpatch next bitarray.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#32: FILE: bitarray.c:32:
+
+
total: 0 errors, 0 warnings, 1 checks, 93 lines checked
checkpatch next bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#663: FILE: bridge_loop_avoidance.c:663:
+
+
CHECK: Please don't use multiple blank lines
#849: FILE: bridge_loop_avoidance.c:849:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1330: FILE: bridge_loop_avoidance.c:1330:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1346: FILE: bridge_loop_avoidance.c:1346:
+
+
CHECK: Please don't use multiple blank lines
#1389: FILE: bridge_loop_avoidance.c:1389:
+
+
CHECK: Please don't use multiple blank lines
#1479: FILE: bridge_loop_avoidance.c:1479:
+
+
total: 0 errors, 0 warnings, 8 checks, 1725 lines checked
checkpatch next debugfs.c:
>>>>>>>>
WARNING: void function return statements are not generally useful
#237: FILE: debugfs.c:237:
+ return;
+}
CHECK: Please use a blank line after function/struct/union/enum declarations
#408: FILE: debugfs.c:408:
+}
+static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
total: 0 errors, 1 warnings, 1 checks, 561 lines checked
checkpatch next distributed-arp-table.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#1103: FILE: distributed-arp-table.c:1103:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 1203 lines checked
checkpatch next fragmentation.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#26: FILE: fragmentation.c:26:
+
+
total: 0 errors, 0 warnings, 1 checks, 498 lines checked
checkpatch next gateway_client.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#778: FILE: gateway_client.c:778:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 879 lines checked
checkpatch next main.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#44: FILE: main.c:44:
+
+
CHECK: No space is necessary after a cast
#438: FILE: main.c:438:
+ BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6);
CHECK: No space is necessary after a cast
#439: FILE: main.c:439:
+ BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24);
CHECK: No space is necessary after a cast
#440: FILE: main.c:440:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20);
CHECK: No space is necessary after a cast
#441: FILE: main.c:441:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20);
CHECK: No space is necessary after a cast
#442: FILE: main.c:442:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116);
CHECK: No space is necessary after a cast
#443: FILE: main.c:443:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10);
CHECK: No space is necessary after a cast
#444: FILE: main.c:444:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18);
CHECK: No space is necessary after a cast
#445: FILE: main.c:445:
+ BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20);
CHECK: No space is necessary after a cast
#446: FILE: main.c:446:
+ BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14);
CHECK: No space is necessary after a cast
#447: FILE: main.c:447:
+ BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46);
CHECK: No space is necessary after a cast
#448: FILE: main.c:448:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_tvlv_packet) != 20);
CHECK: No space is necessary after a cast
#449: FILE: main.c:449:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4);
CHECK: No space is necessary after a cast
#450: FILE: main.c:450:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_gateway_data) != 8);
CHECK: No space is necessary after a cast
#451: FILE: main.c:451:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_vlan_data) != 8);
CHECK: No space is necessary after a cast
#452: FILE: main.c:452:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_change) != 12);
CHECK: No space is necessary after a cast
#453: FILE: main.c:453:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8);
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
#799: FILE: main.c:799:
+ * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate
total: 0 errors, 0 warnings, 18 checks, 1263 lines checked
checkpatch next main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#320: FILE: main.h:320:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 391 lines checked
checkpatch next multicast.h:
>>>>>>>>
WARNING: void function return statements are not generally useful
#54: FILE: multicast.h:54:
+ return;
+}
WARNING: void function return statements are not generally useful
#71: FILE: multicast.h:71:
+ return;
+}
WARNING: void function return statements are not generally useful
#76: FILE: multicast.h:76:
+ return;
+}
total: 0 errors, 3 warnings, 0 checks, 80 lines checked
checkpatch next originator.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#802: FILE: originator.c:802:
+
+
total: 0 errors, 0 warnings, 1 checks, 1177 lines checked
checkpatch next originator.h:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#73: FILE: originator.h:73:
+
+
total: 0 errors, 0 warnings, 1 checks, 126 lines checked
checkpatch next packet.h:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#201: FILE: packet.h:201:
+};
+#pragma pack()
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
#379: FILE: packet.h:379:
+#error "unknown bitfield endianess"
CHECK: 'boundry' may be misspelled - perhaps 'boundary'?
#455: FILE: packet.h:455:
+ * @align: 2 bytes to align the header to a 4 byte boundry
total: 0 errors, 0 warnings, 3 checks, 552 lines checked
checkpatch next routing.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#295: FILE: routing.c:295:
+
+
CHECK: 'choosen' may be misspelled - perhaps 'chosen'?
#458: FILE: routing.c:458:
+ * If this can't be found either, return the previously choosen
total: 0 errors, 0 warnings, 2 checks, 1085 lines checked
checkpatch next soft-interface.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#39: FILE: soft-interface.c:39:
+
+
total: 0 errors, 0 warnings, 1 checks, 1114 lines checked
checkpatch next sysfs.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#154: FILE: sysfs.c:154:
+
+
total: 0 errors, 0 warnings, 1 checks, 944 lines checked
checkpatch next translation-table.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#1783: FILE: translation-table.c:1783:
+
+
CHECK: 'adress' may be misspelled - perhaps 'address'?
#2857: FILE: translation-table.c:2857:
+ * @addr: the mac adress of the client to check
total: 0 errors, 0 warnings, 2 checks, 3712 lines checked
checkpatch next types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#973: FILE: types.h:973:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1259 lines checked
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
8 years, 4 months
Build check errors found: 2014-09-27
by postmaster@open-mesh.org
Name of failed tests
====================
checkpatch master bat_iv_ogm.c
checkpatch master bitarray.c
checkpatch master bridge_loop_avoidance.c
checkpatch master debugfs.c
checkpatch master distributed-arp-table.c
checkpatch master fragmentation.c
checkpatch master gateway_client.c
checkpatch master main.c
checkpatch master main.h
checkpatch master originator.c
checkpatch master originator.h
checkpatch master packet.h
checkpatch master routing.c
checkpatch master soft-interface.c
checkpatch master sysfs.c
checkpatch master translation-table.c
checkpatch master types.h
checkpatch next bat_iv_ogm.c
checkpatch next bitarray.c
checkpatch next bridge_loop_avoidance.c
checkpatch next debugfs.c
checkpatch next distributed-arp-table.c
checkpatch next fragmentation.c
checkpatch next gateway_client.c
checkpatch next main.c
checkpatch next main.h
checkpatch next multicast.h
checkpatch next originator.c
checkpatch next originator.h
checkpatch next packet.h
checkpatch next routing.c
checkpatch next soft-interface.c
checkpatch next sysfs.c
checkpatch next translation-table.c
checkpatch next types.h
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
Output of different failed tests
================================
checkpatch master bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1668: FILE: bat_iv_ogm.c:1668:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1981 lines checked
checkpatch master bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#665: FILE: bridge_loop_avoidance.c:665:
+
+
CHECK: Please don't use multiple blank lines
#852: FILE: bridge_loop_avoidance.c:852:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1334: FILE: bridge_loop_avoidance.c:1334:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1350: FILE: bridge_loop_avoidance.c:1350:
+
+
CHECK: Please don't use multiple blank lines
#1393: FILE: bridge_loop_avoidance.c:1393:
+
+
CHECK: Please don't use multiple blank lines
#1483: FILE: bridge_loop_avoidance.c:1483:
+
+
total: 0 errors, 0 warnings, 8 checks, 1729 lines checked
checkpatch master main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#319: FILE: main.h:319:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 390 lines checked
checkpatch master types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#971: FILE: types.h:971:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1257 lines checked
checkpatch next bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1667: FILE: bat_iv_ogm.c:1667:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1980 lines checked
checkpatch next bitarray.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#32: FILE: bitarray.c:32:
+
+
total: 0 errors, 0 warnings, 1 checks, 93 lines checked
checkpatch next bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#663: FILE: bridge_loop_avoidance.c:663:
+
+
CHECK: Please don't use multiple blank lines
#849: FILE: bridge_loop_avoidance.c:849:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1330: FILE: bridge_loop_avoidance.c:1330:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1346: FILE: bridge_loop_avoidance.c:1346:
+
+
CHECK: Please don't use multiple blank lines
#1389: FILE: bridge_loop_avoidance.c:1389:
+
+
CHECK: Please don't use multiple blank lines
#1479: FILE: bridge_loop_avoidance.c:1479:
+
+
total: 0 errors, 0 warnings, 8 checks, 1725 lines checked
checkpatch next debugfs.c:
>>>>>>>>
WARNING: void function return statements are not generally useful
#237: FILE: debugfs.c:237:
+ return;
+}
CHECK: Please use a blank line after function/struct/union/enum declarations
#408: FILE: debugfs.c:408:
+}
+static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
total: 0 errors, 1 warnings, 1 checks, 561 lines checked
checkpatch next distributed-arp-table.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#1103: FILE: distributed-arp-table.c:1103:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 1203 lines checked
checkpatch next fragmentation.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#26: FILE: fragmentation.c:26:
+
+
total: 0 errors, 0 warnings, 1 checks, 498 lines checked
checkpatch next gateway_client.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#778: FILE: gateway_client.c:778:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 879 lines checked
checkpatch next main.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#44: FILE: main.c:44:
+
+
CHECK: No space is necessary after a cast
#438: FILE: main.c:438:
+ BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6);
CHECK: No space is necessary after a cast
#439: FILE: main.c:439:
+ BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24);
CHECK: No space is necessary after a cast
#440: FILE: main.c:440:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20);
CHECK: No space is necessary after a cast
#441: FILE: main.c:441:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20);
CHECK: No space is necessary after a cast
#442: FILE: main.c:442:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116);
CHECK: No space is necessary after a cast
#443: FILE: main.c:443:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10);
CHECK: No space is necessary after a cast
#444: FILE: main.c:444:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18);
CHECK: No space is necessary after a cast
#445: FILE: main.c:445:
+ BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20);
CHECK: No space is necessary after a cast
#446: FILE: main.c:446:
+ BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14);
CHECK: No space is necessary after a cast
#447: FILE: main.c:447:
+ BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46);
CHECK: No space is necessary after a cast
#448: FILE: main.c:448:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_tvlv_packet) != 20);
CHECK: No space is necessary after a cast
#449: FILE: main.c:449:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4);
CHECK: No space is necessary after a cast
#450: FILE: main.c:450:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_gateway_data) != 8);
CHECK: No space is necessary after a cast
#451: FILE: main.c:451:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_vlan_data) != 8);
CHECK: No space is necessary after a cast
#452: FILE: main.c:452:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_change) != 12);
CHECK: No space is necessary after a cast
#453: FILE: main.c:453:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8);
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
#799: FILE: main.c:799:
+ * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate
total: 0 errors, 0 warnings, 18 checks, 1263 lines checked
checkpatch next main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#320: FILE: main.h:320:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 391 lines checked
checkpatch next multicast.h:
>>>>>>>>
WARNING: void function return statements are not generally useful
#54: FILE: multicast.h:54:
+ return;
+}
WARNING: void function return statements are not generally useful
#71: FILE: multicast.h:71:
+ return;
+}
WARNING: void function return statements are not generally useful
#76: FILE: multicast.h:76:
+ return;
+}
total: 0 errors, 3 warnings, 0 checks, 80 lines checked
checkpatch next originator.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#802: FILE: originator.c:802:
+
+
total: 0 errors, 0 warnings, 1 checks, 1177 lines checked
checkpatch next originator.h:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#73: FILE: originator.h:73:
+
+
total: 0 errors, 0 warnings, 1 checks, 126 lines checked
checkpatch next packet.h:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#201: FILE: packet.h:201:
+};
+#pragma pack()
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
#379: FILE: packet.h:379:
+#error "unknown bitfield endianess"
CHECK: 'boundry' may be misspelled - perhaps 'boundary'?
#455: FILE: packet.h:455:
+ * @align: 2 bytes to align the header to a 4 byte boundry
total: 0 errors, 0 warnings, 3 checks, 552 lines checked
checkpatch next routing.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#295: FILE: routing.c:295:
+
+
CHECK: 'choosen' may be misspelled - perhaps 'chosen'?
#458: FILE: routing.c:458:
+ * If this can't be found either, return the previously choosen
total: 0 errors, 0 warnings, 2 checks, 1085 lines checked
checkpatch next soft-interface.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#39: FILE: soft-interface.c:39:
+
+
total: 0 errors, 0 warnings, 1 checks, 1114 lines checked
checkpatch next sysfs.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#154: FILE: sysfs.c:154:
+
+
total: 0 errors, 0 warnings, 1 checks, 944 lines checked
checkpatch next translation-table.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#1783: FILE: translation-table.c:1783:
+
+
CHECK: 'adress' may be misspelled - perhaps 'address'?
#2857: FILE: translation-table.c:2857:
+ * @addr: the mac adress of the client to check
total: 0 errors, 0 warnings, 2 checks, 3712 lines checked
checkpatch next types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#973: FILE: types.h:973:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1259 lines checked
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
8 years, 4 months
[linux-next] LinuxNextTracking branch, master, updated. next-20140926
by batman@open-mesh.org
The following commit has been merged in the master branch:
commit 8a0dd46e5391d15fc7a4c88833a87ecaf934aba0
Author: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Date: Fri Sep 26 10:21:24 2014 +1000
batman-adv: replace strnicmp with strncasecmp
The kernel used to contain two functions for length-delimited,
case-insensitive string comparison, strnicmp with correct semantics and a
slightly buggy strncasecmp. The latter is the POSIX name, so strnicmp was
renamed to strncasecmp, and strnicmp made into a wrapper for the new
strncasecmp to avoid breaking existing users.
To allow the compat wrapper strnicmp to be removed at some point in the
future, and to avoid the extra indirection cost, do
s/strnicmp/strncasecmp/g.
Signed-off-by: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Cc: Marek Lindner <mareklindner(a)neomailbox.ch>
Acked-by: Antonio Quartulli <antonio(a)meshcoding.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c
index 6f5e621..88a1bc3 100644
--- a/net/batman-adv/gateway_common.c
+++ b/net/batman-adv/gateway_common.c
@@ -44,10 +44,10 @@ static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff,
if (strlen(buff) > 4) {
tmp_ptr = buff + strlen(buff) - 4;
- if (strnicmp(tmp_ptr, "mbit", 4) == 0)
+ if (strncasecmp(tmp_ptr, "mbit", 4) == 0)
bw_unit_type = BATADV_BW_UNIT_MBIT;
- if ((strnicmp(tmp_ptr, "kbit", 4) == 0) ||
+ if ((strncasecmp(tmp_ptr, "kbit", 4) == 0) ||
(bw_unit_type == BATADV_BW_UNIT_MBIT))
*tmp_ptr = '\0';
}
@@ -77,10 +77,10 @@ static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff,
if (strlen(slash_ptr + 1) > 4) {
tmp_ptr = slash_ptr + 1 - 4 + strlen(slash_ptr + 1);
- if (strnicmp(tmp_ptr, "mbit", 4) == 0)
+ if (strncasecmp(tmp_ptr, "mbit", 4) == 0)
bw_unit_type = BATADV_BW_UNIT_MBIT;
- if ((strnicmp(tmp_ptr, "kbit", 4) == 0) ||
+ if ((strncasecmp(tmp_ptr, "kbit", 4) == 0) ||
(bw_unit_type == BATADV_BW_UNIT_MBIT))
*tmp_ptr = '\0';
}
--
LinuxNextTracking
8 years, 4 months
Build check errors found: 2014-09-26
by postmaster@open-mesh.org
Name of failed tests
====================
checkpatch master bat_iv_ogm.c
checkpatch master bitarray.c
checkpatch master bitarray.h
checkpatch master bridge_loop_avoidance.c
checkpatch master debugfs.c
checkpatch master distributed-arp-table.c
checkpatch master fragmentation.c
checkpatch master fragmentation.h
checkpatch master gateway_client.c
checkpatch master main.c
checkpatch master main.h
checkpatch master network-coding.c
checkpatch master originator.c
checkpatch master originator.h
checkpatch master packet.h
checkpatch master routing.c
checkpatch master soft-interface.c
checkpatch master sysfs.c
checkpatch master translation-table.c
checkpatch master types.h
checkpatch next bat_iv_ogm.c
checkpatch next bitarray.c
checkpatch next bitarray.h
checkpatch next bridge_loop_avoidance.c
checkpatch next debugfs.c
checkpatch next distributed-arp-table.c
checkpatch next fragmentation.c
checkpatch next fragmentation.h
checkpatch next gateway_client.c
checkpatch next main.c
checkpatch next main.h
checkpatch next multicast.h
checkpatch next network-coding.c
checkpatch next originator.c
checkpatch next originator.h
checkpatch next packet.h
checkpatch next routing.c
checkpatch next soft-interface.c
checkpatch next sysfs.c
checkpatch next translation-table.c
checkpatch next types.h
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
Output of different failed tests
================================
checkpatch master bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1668: FILE: bat_iv_ogm.c:1668:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1981 lines checked
checkpatch master bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#665: FILE: bridge_loop_avoidance.c:665:
+
+
CHECK: Please don't use multiple blank lines
#852: FILE: bridge_loop_avoidance.c:852:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1334: FILE: bridge_loop_avoidance.c:1334:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1350: FILE: bridge_loop_avoidance.c:1350:
+
+
CHECK: Please don't use multiple blank lines
#1393: FILE: bridge_loop_avoidance.c:1393:
+
+
CHECK: Please don't use multiple blank lines
#1483: FILE: bridge_loop_avoidance.c:1483:
+
+
total: 0 errors, 0 warnings, 8 checks, 1729 lines checked
checkpatch master main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#319: FILE: main.h:319:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 390 lines checked
checkpatch master types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#971: FILE: types.h:971:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1257 lines checked
checkpatch next bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1667: FILE: bat_iv_ogm.c:1667:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1980 lines checked
checkpatch next bitarray.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#32: FILE: bitarray.c:32:
+
+
total: 0 errors, 0 warnings, 1 checks, 93 lines checked
checkpatch next bitarray.h:
>>>>>>>>
WARNING: else is not generally useful after a break or return
#32: FILE: bitarray.h:32:
+ return 0;
+ else
total: 0 errors, 1 warnings, 0 checks, 52 lines checked
checkpatch next bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#663: FILE: bridge_loop_avoidance.c:663:
+
+
CHECK: Please don't use multiple blank lines
#849: FILE: bridge_loop_avoidance.c:849:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1330: FILE: bridge_loop_avoidance.c:1330:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1346: FILE: bridge_loop_avoidance.c:1346:
+
+
CHECK: Please don't use multiple blank lines
#1389: FILE: bridge_loop_avoidance.c:1389:
+
+
CHECK: Please don't use multiple blank lines
#1479: FILE: bridge_loop_avoidance.c:1479:
+
+
total: 0 errors, 0 warnings, 8 checks, 1725 lines checked
checkpatch next debugfs.c:
>>>>>>>>
WARNING: void function return statements are not generally useful
#237: FILE: debugfs.c:237:
+ return;
+}
CHECK: Please use a blank line after function/struct/union/enum declarations
#408: FILE: debugfs.c:408:
+}
+static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
total: 0 errors, 1 warnings, 1 checks, 561 lines checked
checkpatch next distributed-arp-table.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#1103: FILE: distributed-arp-table.c:1103:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 1203 lines checked
checkpatch next fragmentation.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#26: FILE: fragmentation.c:26:
+
+
total: 0 errors, 0 warnings, 1 checks, 498 lines checked
checkpatch next fragmentation.h:
>>>>>>>>
WARNING: else is not generally useful after a break or return
#44: FILE: fragmentation.h:44:
+ return true;
+ else
total: 0 errors, 1 warnings, 0 checks, 48 lines checked
checkpatch next gateway_client.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#778: FILE: gateway_client.c:778:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 879 lines checked
checkpatch next main.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#44: FILE: main.c:44:
+
+
CHECK: No space is necessary after a cast
#438: FILE: main.c:438:
+ BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6);
CHECK: No space is necessary after a cast
#439: FILE: main.c:439:
+ BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24);
CHECK: No space is necessary after a cast
#440: FILE: main.c:440:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20);
CHECK: No space is necessary after a cast
#441: FILE: main.c:441:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20);
CHECK: No space is necessary after a cast
#442: FILE: main.c:442:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116);
CHECK: No space is necessary after a cast
#443: FILE: main.c:443:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10);
CHECK: No space is necessary after a cast
#444: FILE: main.c:444:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18);
CHECK: No space is necessary after a cast
#445: FILE: main.c:445:
+ BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20);
CHECK: No space is necessary after a cast
#446: FILE: main.c:446:
+ BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14);
CHECK: No space is necessary after a cast
#447: FILE: main.c:447:
+ BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46);
CHECK: No space is necessary after a cast
#448: FILE: main.c:448:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_tvlv_packet) != 20);
CHECK: No space is necessary after a cast
#449: FILE: main.c:449:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4);
CHECK: No space is necessary after a cast
#450: FILE: main.c:450:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_gateway_data) != 8);
CHECK: No space is necessary after a cast
#451: FILE: main.c:451:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_vlan_data) != 8);
CHECK: No space is necessary after a cast
#452: FILE: main.c:452:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_change) != 12);
CHECK: No space is necessary after a cast
#453: FILE: main.c:453:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8);
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
#799: FILE: main.c:799:
+ * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate
total: 0 errors, 0 warnings, 18 checks, 1263 lines checked
checkpatch next main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#320: FILE: main.h:320:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 391 lines checked
checkpatch next multicast.h:
>>>>>>>>
WARNING: void function return statements are not generally useful
#54: FILE: multicast.h:54:
+ return;
+}
WARNING: void function return statements are not generally useful
#71: FILE: multicast.h:71:
+ return;
+}
WARNING: void function return statements are not generally useful
#76: FILE: multicast.h:76:
+ return;
+}
total: 0 errors, 3 warnings, 0 checks, 80 lines checked
checkpatch next network-coding.c:
>>>>>>>>
WARNING: else is not generally useful after a break or return
#1215: FILE: network-coding.c:1215:
+ return false;
+ else
total: 0 errors, 1 warnings, 0 checks, 1937 lines checked
checkpatch next originator.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#802: FILE: originator.c:802:
+
+
total: 0 errors, 0 warnings, 1 checks, 1177 lines checked
checkpatch next originator.h:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#73: FILE: originator.h:73:
+
+
total: 0 errors, 0 warnings, 1 checks, 126 lines checked
checkpatch next packet.h:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#201: FILE: packet.h:201:
+};
+#pragma pack()
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
#379: FILE: packet.h:379:
+#error "unknown bitfield endianess"
CHECK: 'boundry' may be misspelled - perhaps 'boundary'?
#455: FILE: packet.h:455:
+ * @align: 2 bytes to align the header to a 4 byte boundry
total: 0 errors, 0 warnings, 3 checks, 552 lines checked
checkpatch next routing.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#295: FILE: routing.c:295:
+
+
CHECK: 'choosen' may be misspelled - perhaps 'chosen'?
#458: FILE: routing.c:458:
+ * If this can't be found either, return the previously choosen
total: 0 errors, 0 warnings, 2 checks, 1085 lines checked
checkpatch next soft-interface.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#39: FILE: soft-interface.c:39:
+
+
total: 0 errors, 0 warnings, 1 checks, 1114 lines checked
checkpatch next sysfs.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#154: FILE: sysfs.c:154:
+
+
total: 0 errors, 0 warnings, 1 checks, 944 lines checked
checkpatch next translation-table.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#1783: FILE: translation-table.c:1783:
+
+
WARNING: else is not generally useful after a break or return
#2772: FILE: translation-table.c:2772:
+ return batadv_send_my_tt_response(bat_priv, tt_data, req_src);
+ else
CHECK: 'adress' may be misspelled - perhaps 'address'?
#2857: FILE: translation-table.c:2857:
+ * @addr: the mac adress of the client to check
total: 0 errors, 1 warnings, 2 checks, 3712 lines checked
checkpatch next types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#973: FILE: types.h:973:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1259 lines checked
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
8 years, 4 months
[linux-next] LinuxNextTracking branch, master, updated. next-20140925
by batman@open-mesh.org
The following commit has been merged in the master branch:
commit 53f298be2086d20e85c0a59cc75351ec9e730d12
Author: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Date: Tue Sep 23 11:55:37 2014 +1000
batman-adv: replace strnicmp with strncasecmp
The kernel used to contain two functions for length-delimited,
case-insensitive string comparison, strnicmp with correct semantics and a
slightly buggy strncasecmp. The latter is the POSIX name, so strnicmp was
renamed to strncasecmp, and strnicmp made into a wrapper for the new
strncasecmp to avoid breaking existing users.
To allow the compat wrapper strnicmp to be removed at some point in the
future, and to avoid the extra indirection cost, do
s/strnicmp/strncasecmp/g.
Signed-off-by: Rasmus Villemoes <linux(a)rasmusvillemoes.dk>
Cc: Marek Lindner <mareklindner(a)neomailbox.ch>
Acked-by: Antonio Quartulli <antonio(a)meshcoding.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c
index 6f5e621..88a1bc3 100644
--- a/net/batman-adv/gateway_common.c
+++ b/net/batman-adv/gateway_common.c
@@ -44,10 +44,10 @@ static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff,
if (strlen(buff) > 4) {
tmp_ptr = buff + strlen(buff) - 4;
- if (strnicmp(tmp_ptr, "mbit", 4) == 0)
+ if (strncasecmp(tmp_ptr, "mbit", 4) == 0)
bw_unit_type = BATADV_BW_UNIT_MBIT;
- if ((strnicmp(tmp_ptr, "kbit", 4) == 0) ||
+ if ((strncasecmp(tmp_ptr, "kbit", 4) == 0) ||
(bw_unit_type == BATADV_BW_UNIT_MBIT))
*tmp_ptr = '\0';
}
@@ -77,10 +77,10 @@ static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff,
if (strlen(slash_ptr + 1) > 4) {
tmp_ptr = slash_ptr + 1 - 4 + strlen(slash_ptr + 1);
- if (strnicmp(tmp_ptr, "mbit", 4) == 0)
+ if (strncasecmp(tmp_ptr, "mbit", 4) == 0)
bw_unit_type = BATADV_BW_UNIT_MBIT;
- if ((strnicmp(tmp_ptr, "kbit", 4) == 0) ||
+ if ((strncasecmp(tmp_ptr, "kbit", 4) == 0) ||
(bw_unit_type == BATADV_BW_UNIT_MBIT))
*tmp_ptr = '\0';
}
--
LinuxNextTracking
8 years, 4 months
Build check errors found: 2014-09-25
by postmaster@open-mesh.org
Name of failed tests
====================
checkpatch master bat_iv_ogm.c
checkpatch master bitarray.c
checkpatch master bitarray.h
checkpatch master bridge_loop_avoidance.c
checkpatch master debugfs.c
checkpatch master distributed-arp-table.c
checkpatch master fragmentation.c
checkpatch master fragmentation.h
checkpatch master gateway_client.c
checkpatch master main.c
checkpatch master main.h
checkpatch master network-coding.c
checkpatch master originator.c
checkpatch master originator.h
checkpatch master packet.h
checkpatch master routing.c
checkpatch master soft-interface.c
checkpatch master sysfs.c
checkpatch master translation-table.c
checkpatch master types.h
checkpatch next bat_iv_ogm.c
checkpatch next bitarray.c
checkpatch next bitarray.h
checkpatch next bridge_loop_avoidance.c
checkpatch next debugfs.c
checkpatch next distributed-arp-table.c
checkpatch next fragmentation.c
checkpatch next fragmentation.h
checkpatch next gateway_client.c
checkpatch next main.c
checkpatch next main.h
checkpatch next multicast.h
checkpatch next network-coding.c
checkpatch next originator.c
checkpatch next originator.h
checkpatch next packet.h
checkpatch next routing.c
checkpatch next soft-interface.c
checkpatch next sysfs.c
checkpatch next translation-table.c
checkpatch next types.h
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y
Output of different failed tests
================================
checkpatch master bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1668: FILE: bat_iv_ogm.c:1668:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1981 lines checked
checkpatch master bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#665: FILE: bridge_loop_avoidance.c:665:
+
+
CHECK: Please don't use multiple blank lines
#852: FILE: bridge_loop_avoidance.c:852:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1334: FILE: bridge_loop_avoidance.c:1334:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1350: FILE: bridge_loop_avoidance.c:1350:
+
+
CHECK: Please don't use multiple blank lines
#1393: FILE: bridge_loop_avoidance.c:1393:
+
+
CHECK: Please don't use multiple blank lines
#1483: FILE: bridge_loop_avoidance.c:1483:
+
+
total: 0 errors, 0 warnings, 8 checks, 1729 lines checked
checkpatch master main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#319: FILE: main.h:319:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 390 lines checked
checkpatch master types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#971: FILE: types.h:971:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1257 lines checked
checkpatch next bat_iv_ogm.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#29: FILE: bat_iv_ogm.c:29:
+
+
CHECK: Unnecessary parentheses around orig_node->bat_iv.bcast_own[word_index]
#882: FILE: bat_iv_ogm.c:882:
+ word = &(orig_node->bat_iv.bcast_own[word_index]);
CHECK: Please don't use multiple blank lines
#1365: FILE: bat_iv_ogm.c:1365:
+
+
CHECK: Unnecessary parentheses around orig_neigh_node->bat_iv.bcast_own[offset]
#1667: FILE: bat_iv_ogm.c:1667:
+ word = &(orig_neigh_node->bat_iv.bcast_own[offset]);
total: 0 errors, 0 warnings, 4 checks, 1980 lines checked
checkpatch next bitarray.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#32: FILE: bitarray.c:32:
+
+
total: 0 errors, 0 warnings, 1 checks, 93 lines checked
checkpatch next bitarray.h:
>>>>>>>>
WARNING: else is not generally useful after a break or return
#32: FILE: bitarray.h:32:
+ return 0;
+ else
total: 0 errors, 1 warnings, 0 checks, 52 lines checked
checkpatch next bridge_loop_avoidance.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#72: FILE: bridge_loop_avoidance.c:72:
+
+
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
#248: FILE: bridge_loop_avoidance.c:248:
+ /* all claims gone, intialize CRC */
CHECK: Please don't use multiple blank lines
#663: FILE: bridge_loop_avoidance.c:663:
+
+
CHECK: Please don't use multiple blank lines
#849: FILE: bridge_loop_avoidance.c:849:
+
+
CHECK: 'occurence' may be misspelled - perhaps 'occurrence'?
#1330: FILE: bridge_loop_avoidance.c:1330:
+ * and allow it, its the first occurence.
CHECK: Please don't use multiple blank lines
#1346: FILE: bridge_loop_avoidance.c:1346:
+
+
CHECK: Please don't use multiple blank lines
#1389: FILE: bridge_loop_avoidance.c:1389:
+
+
CHECK: Please don't use multiple blank lines
#1479: FILE: bridge_loop_avoidance.c:1479:
+
+
total: 0 errors, 0 warnings, 8 checks, 1725 lines checked
checkpatch next debugfs.c:
>>>>>>>>
WARNING: void function return statements are not generally useful
#237: FILE: debugfs.c:237:
+ return;
+}
CHECK: Please use a blank line after function/struct/union/enum declarations
#408: FILE: debugfs.c:408:
+}
+static BATADV_HARDIF_DEBUGINFO(originators, S_IRUGO,
total: 0 errors, 1 warnings, 1 checks, 561 lines checked
checkpatch next distributed-arp-table.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#1103: FILE: distributed-arp-table.c:1103:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 1203 lines checked
checkpatch next fragmentation.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#26: FILE: fragmentation.c:26:
+
+
total: 0 errors, 0 warnings, 1 checks, 498 lines checked
checkpatch next fragmentation.h:
>>>>>>>>
WARNING: else is not generally useful after a break or return
#44: FILE: fragmentation.h:44:
+ return true;
+ else
total: 0 errors, 1 warnings, 0 checks, 48 lines checked
checkpatch next gateway_client.c:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#778: FILE: gateway_client.c:778:
+}
+/**
total: 0 errors, 0 warnings, 1 checks, 879 lines checked
checkpatch next main.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#44: FILE: main.c:44:
+
+
CHECK: No space is necessary after a cast
#438: FILE: main.c:438:
+ BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6);
CHECK: No space is necessary after a cast
#439: FILE: main.c:439:
+ BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24);
CHECK: No space is necessary after a cast
#440: FILE: main.c:440:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20);
CHECK: No space is necessary after a cast
#441: FILE: main.c:441:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20);
CHECK: No space is necessary after a cast
#442: FILE: main.c:442:
+ BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116);
CHECK: No space is necessary after a cast
#443: FILE: main.c:443:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10);
CHECK: No space is necessary after a cast
#444: FILE: main.c:444:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18);
CHECK: No space is necessary after a cast
#445: FILE: main.c:445:
+ BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20);
CHECK: No space is necessary after a cast
#446: FILE: main.c:446:
+ BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14);
CHECK: No space is necessary after a cast
#447: FILE: main.c:447:
+ BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46);
CHECK: No space is necessary after a cast
#448: FILE: main.c:448:
+ BUILD_BUG_ON(sizeof(struct batadv_unicast_tvlv_packet) != 20);
CHECK: No space is necessary after a cast
#449: FILE: main.c:449:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4);
CHECK: No space is necessary after a cast
#450: FILE: main.c:450:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_gateway_data) != 8);
CHECK: No space is necessary after a cast
#451: FILE: main.c:451:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_vlan_data) != 8);
CHECK: No space is necessary after a cast
#452: FILE: main.c:452:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_tt_change) != 12);
CHECK: No space is necessary after a cast
#453: FILE: main.c:453:
+ BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8);
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
#799: FILE: main.c:799:
+ * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate
total: 0 errors, 0 warnings, 18 checks, 1263 lines checked
checkpatch next main.h:
>>>>>>>>
CHECK: No space is necessary after a cast
#320: FILE: main.h:320:
+ (void) (&_d1 == &_d2); \
total: 0 errors, 0 warnings, 1 checks, 391 lines checked
checkpatch next multicast.h:
>>>>>>>>
WARNING: void function return statements are not generally useful
#54: FILE: multicast.h:54:
+ return;
+}
WARNING: void function return statements are not generally useful
#71: FILE: multicast.h:71:
+ return;
+}
WARNING: void function return statements are not generally useful
#76: FILE: multicast.h:76:
+ return;
+}
total: 0 errors, 3 warnings, 0 checks, 80 lines checked
checkpatch next network-coding.c:
>>>>>>>>
WARNING: else is not generally useful after a break or return
#1215: FILE: network-coding.c:1215:
+ return false;
+ else
total: 0 errors, 1 warnings, 0 checks, 1937 lines checked
checkpatch next originator.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#802: FILE: originator.c:802:
+
+
total: 0 errors, 0 warnings, 1 checks, 1177 lines checked
checkpatch next originator.h:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#73: FILE: originator.h:73:
+
+
total: 0 errors, 0 warnings, 1 checks, 126 lines checked
checkpatch next packet.h:
>>>>>>>>
CHECK: Please use a blank line after function/struct/union/enum declarations
#201: FILE: packet.h:201:
+};
+#pragma pack()
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
#379: FILE: packet.h:379:
+#error "unknown bitfield endianess"
CHECK: 'boundry' may be misspelled - perhaps 'boundary'?
#455: FILE: packet.h:455:
+ * @align: 2 bytes to align the header to a 4 byte boundry
total: 0 errors, 0 warnings, 3 checks, 552 lines checked
checkpatch next routing.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#295: FILE: routing.c:295:
+
+
CHECK: 'choosen' may be misspelled - perhaps 'chosen'?
#458: FILE: routing.c:458:
+ * If this can't be found either, return the previously choosen
total: 0 errors, 0 warnings, 2 checks, 1085 lines checked
checkpatch next soft-interface.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#39: FILE: soft-interface.c:39:
+
+
total: 0 errors, 0 warnings, 1 checks, 1114 lines checked
checkpatch next sysfs.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#154: FILE: sysfs.c:154:
+
+
total: 0 errors, 0 warnings, 1 checks, 944 lines checked
checkpatch next translation-table.c:
>>>>>>>>
CHECK: Please don't use multiple blank lines
#1783: FILE: translation-table.c:1783:
+
+
WARNING: else is not generally useful after a break or return
#2772: FILE: translation-table.c:2772:
+ return batadv_send_my_tt_response(bat_priv, tt_data, req_src);
+ else
CHECK: 'adress' may be misspelled - perhaps 'address'?
#2857: FILE: translation-table.c:2857:
+ * @addr: the mac adress of the client to check
total: 0 errors, 1 warnings, 2 checks, 3712 lines checked
checkpatch next types.h:
>>>>>>>>
CHECK: 'occured' may be misspelled - perhaps 'occurred'?
#973: FILE: types.h:973:
+ * struct batadv_tt_change_node - structure for tt changes occured
total: 0 errors, 0 warnings, 1 checks, 1259 lines checked
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse master linux-3.15 CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=n CONFIG_BATMAN_ADV_DEBUG=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=n:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
sparse next linux-3.15 CONFIG_BATMAN_ADV_BLA=n CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_NC=y CONFIG_BATMAN_ADV_MCAST=y:
>>>>>>>>
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/gateway_client.c:106:9: warning: Variable length array is used.
/home/batman/build_test/tmp/gateway_client.c:106:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/hard-interface.c:194:9: warning: Variable length array is used.
/home/batman/build_test/tmp/hard-interface.c:194:9: error: cannot size expression
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:54:9: warning: Variable length array is used.
include/linux/rculist.h:54:9: error: cannot size expression
include/linux/rculist.h:402:9: error: cannot size expression
/home/batman/build_test/tmp/routing.c:91:9: warning: Variable length array is used.
/home/batman/build_test/tmp/routing.c:91:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
include/linux/rculist.h:402:9: warning: Variable length array is used.
include/linux/rculist.h:402:9: error: cannot size expression
8 years, 4 months