Build check errors found: 2016-08-26

postmaster at open-mesh.org postmaster at open-mesh.org
Fri Aug 26 02:34:23 CEST 2016


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

master
------

 * checkpatch ./net/batman-adv/icmp_socket.c
 * checkpatch ./net/batman-adv/log.c
 * checkpatch ./net/batman-adv/network-coding.c
 * cppcheck

next
----

 * checkpatch ./net/batman-adv/icmp_socket.c
 * checkpatch ./net/batman-adv/log.c
 * checkpatch ./net/batman-adv/network-coding.c
 * difference between net-next and batadv next


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

next: checkpatch ./net/batman-adv/icmp_socket.c
-----------------------------------------------

    WARNING: Symbolic permissions are not preferred. Consider using octal permissions 0600.
    #325: FILE: ./net/batman-adv/icmp_socket.c:325:
    +	d = debugfs_create_file(BATADV_ICMP_SOCKET, S_IFREG | S_IWUSR | S_IRUSR,
    
    total: 0 errors, 1 warnings, 0 checks, 407 lines checked

next: checkpatch ./net/batman-adv/log.c
---------------------------------------

    WARNING: Symbolic permissions are not preferred. Consider using octal permissions 0400.
    #215: FILE: ./net/batman-adv/log.c:215:
    +	d = debugfs_create_file("log", S_IFREG | S_IRUSR,
    
    total: 0 errors, 1 warnings, 0 checks, 231 lines checked

next: checkpatch ./net/batman-adv/network-coding.c
--------------------------------------------------

    WARNING: Symbolic permissions are not preferred. Consider using octal permissions 0644.
    #1964: FILE: ./net/batman-adv/network-coding.c:1964:
    +	file = debugfs_create_u8("min_tq", S_IRUGO | S_IWUSR, nc_dir,
    
    WARNING: Symbolic permissions are not preferred. Consider using octal permissions 0644.
    #1969: FILE: ./net/batman-adv/network-coding.c:1969:
    +	file = debugfs_create_u32("max_fwd_delay", S_IRUGO | S_IWUSR, nc_dir,
    
    WARNING: Symbolic permissions are not preferred. Consider using octal permissions 0644.
    #1974: FILE: ./net/batman-adv/network-coding.c:1974:
    +	file = debugfs_create_u32("max_buffer_time", S_IRUGO | S_IWUSR, nc_dir,
    
    total: 0 errors, 3 warnings, 0 checks, 1983 lines checked

master: checkpatch ./net/batman-adv/network-coding.c
----------------------------------------------------

    WARNING: Symbolic permissions are not preferred. Consider using octal permissions 0644.
    #1964: FILE: ./net/batman-adv/network-coding.c:1964:
    +	file = debugfs_create_u8("min_tq", S_IRUGO | S_IWUSR, nc_dir,
    
    WARNING: Symbolic permissions are not preferred. Consider using octal permissions 0644.
    #1969: FILE: ./net/batman-adv/network-coding.c:1969:
    +	file = debugfs_create_u32("max_fwd_delay", S_IRUGO | S_IWUSR, nc_dir,
    
    WARNING: Symbolic permissions are not preferred. Consider using octal permissions 0644.
    #1974: FILE: ./net/batman-adv/network-coding.c:1974:
    +	file = debugfs_create_u32("max_buffer_time", S_IRUGO | S_IWUSR, nc_dir,
    
    total: 0 errors, 3 warnings, 0 checks, 1984 lines checked

master: cppcheck
----------------

    [net/batman-adv/bat_v.c:790] -> [net/batman-adv/bat_v.c:796]: (style) Variable 'curr_gw' is reassigned a value before the old one has been used.
    [net/batman-adv/bat_v_ogm.c:404] -> [net/batman-adv/bat_v_ogm.c:411]: (style) Variable 'orig_ifinfo' is reassigned a value before the old one has been used.
    [net/batman-adv/bat_v_ogm.c:489] -> [net/batman-adv/bat_v_ogm.c:498]: (style) Variable 'orig_neigh_node' is reassigned a value before the old one has been used.
    [net/batman-adv/gateway_client.c:707] -> [net/batman-adv/gateway_client.c:718]: (style) Variable 'orig_dst_node' is reassigned a value before the old one has been used.
    [net/batman-adv/originator.c:367] -> [net/batman-adv/originator.c:372]: (style) Variable 'orig_ifinfo' is reassigned a value before the old one has been used.
    [net/batman-adv/originator.c:523] -> [net/batman-adv/originator.c:528]: (style) Variable 'hardif_neigh' is reassigned a value before the old one has been used.
    [net/batman-adv/originator.c:566] -> [net/batman-adv/originator.c:569]: (style) Variable 'hardif_neigh' is reassigned a value before the old one has been used.
    [net/batman-adv/originator.c:686] -> [net/batman-adv/originator.c:689]: (style) Variable 'neigh_node' is reassigned a value before the old one has been used.
    [net/batman-adv/send.c:565] -> [net/batman-adv/send.c:570]: (style) Variable 'primary_if' is reassigned a value before the old one has been used.

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

     netnext/Documentation/networking/batman-adv.txt |   17 
     netnext/include/uapi/linux/batman_adv.h         |   94 +
     netnext/net/batman-adv/Kconfig                  |   15 
     netnext/net/batman-adv/Makefile                 |    4 
     netnext/net/batman-adv/bat_algo.c               |   70 +
     netnext/net/batman-adv/bat_algo.h               |    3 
     netnext/net/batman-adv/bat_iv_ogm.c             |  837 +++++++++++++--
     netnext/net/batman-adv/bat_v.c                  |  734 +++++++++++++
     netnext/net/batman-adv/bat_v_ogm.c              |    5 
     netnext/net/batman-adv/bridge_loop_avoidance.c  |  348 ++++++
     netnext/net/batman-adv/bridge_loop_avoidance.h  |   17 
     netnext/net/batman-adv/debugfs.c                |   18 
     netnext/net/batman-adv/debugfs.h                |    2 
     netnext/net/batman-adv/distributed-arp-table.c  |    4 
     netnext/net/batman-adv/gateway_client.c         |  285 +----
     netnext/net/batman-adv/gateway_client.h         |    7 
     netnext/net/batman-adv/gateway_common.c         |    5 
     netnext/net/batman-adv/hard-interface.c         |   84 -
     netnext/net/batman-adv/icmp_socket.h            |   18 
     netnext/net/batman-adv/main.c                   |   19 
     netnext/net/batman-adv/main.h                   |    2 
     netnext/net/batman-adv/multicast.c              |    4 
     netnext/net/batman-adv/netlink.c                |  217 +++
     netnext/net/batman-adv/netlink.h                |    6 
     netnext/net/batman-adv/network-coding.c         |   11 
     netnext/net/batman-adv/originator.c             |  172 +++
     netnext/net/batman-adv/originator.h             |    4 
     netnext/net/batman-adv/packet.h                 |   36 
     netnext/net/batman-adv/routing.c                |   43 
     netnext/net/batman-adv/send.c                   |  136 +-
     netnext/net/batman-adv/send.h                   |    6 
     netnext/net/batman-adv/soft-interface.c         |   51 
     netnext/net/batman-adv/sysfs.c                  |  183 ++-
     netnext/net/batman-adv/translation-table.c      |  556 +++++++++
     netnext/net/batman-adv/translation-table.h      |    7 
     netnext/net/batman-adv/tvlv.c                   |    9 
     netnext/net/batman-adv/types.h                  |   69 +
     37 files changed, 3568 insertions(+), 530 deletions(-)


Statistics
==========

master
------

Failed tests:                 4
Started build tests:        133
Tested Linux versions:       26
Tested configs:              86

next
----

Failed tests:                 4
Started build tests:        150
Tested Linux versions:       26
Tested configs:              88



More information about the linux-merge mailing list