Build check errors found: 2015-11-22

postmaster at open-mesh.org postmaster at open-mesh.org
Sun Nov 22 01:32:33 CET 2015


Name of failed tests
====================

 * checkpatch next ./net/batman-adv/gateway_common.c
 * checkpatch next ./net/batman-adv/main.c
 * cppcheck master
 * difference between net-next and batadv next
 * headers master
 * smatch next linux-3.10 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
 * smatch next linux-3.11 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
 * smatch next linux-3.12 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
 * smatch next linux-3.13 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
 * smatch next linux-3.14 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
 * smatch 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=y
 * smatch next linux-3.16 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
 * smatch next linux-3.17 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
 * smatch next linux-3.18 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
 * smatch next linux-3.19 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
 * smatch next linux-3.9 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
 * smatch next linux-4.0 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
 * smatch next linux-4.1 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
 * smatch next linux-4.2 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
 * smatch next linux-4.3 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

Output of different failed tests
================================

checkpatch next ./net/batman-adv/gateway_common.c
-------------------------------------------------

    WARNING: Comparisons should place the constant on the right side of the test
    #92: FILE: ./net/batman-adv/gateway_common.c:92:
    +	if (U32_MAX < ldown) {
    
    WARNING: Comparisons should place the constant on the right side of the test
    #142: FILE: ./net/batman-adv/gateway_common.c:142:
    +		if (U32_MAX < lup) {
    
    total: 0 errors, 2 warnings, 0 checks, 287 lines checked


checkpatch next ./net/batman-adv/main.c
---------------------------------------

    CHECK: 'wether' may be misspelled - perhaps 'whether'?
    #911: FILE: ./net/batman-adv/main.c:911:
    + * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
    
    CHECK: 'wether' may be misspelled - perhaps 'whether'?
    #964: FILE: ./net/batman-adv/main.c:964:
    + * @ogm_source: flag indicating wether the tvlv is an ogm or a unicast packet
    
    total: 0 errors, 0 warnings, 2 checks, 1284 lines checked


cppcheck master
---------------

    [net/batman-adv/bridge_loop_avoidance.c:1253]: (style) The function 'batadv_bla_status_update' is never used.


difference between net-next and batadv next
-------------------------------------------

     net/batman-adv/bridge_loop_avoidance.c |   35 +++---------------------
     net/batman-adv/distributed-arp-table.c |    5 ---
     net/batman-adv/routing.c               |   19 ++-----------
     net/batman-adv/translation-table.c     |   30 +++-----------------
     net/batman-adv/types.h                 |    2 -
     5 files changed, 15 insertions(+), 76 deletions(-)


headers master
--------------

    diff --git a/net/batman-adv/bridge_loop_avoidance.h b/net/batman-adv/bridge_loop_avoidance.h
    index db1aeb5..cf00cc6 100644
    --- a/net/batman-adv/bridge_loop_avoidance.h
    +++ b/net/batman-adv/bridge_loop_avoidance.h
    @@ -20,6 +20,8 @@
     
     #include "main.h"
     
    +struct net_device;
    +
     #include <linux/types.h>
     
     struct seq_file;


smatch next linux-4.3 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
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp/net/batman-adv/bat_iv_ogm.c:1428 batadv_iv_ogm_process_per_outif warn: unused return: router_router = batadv_orig_router_get()


More information about the linux-merge mailing list