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

stable
------

 * sparse v6.19-rc5 cfg: BLA=n DAT=n DEBUG=n TRACING=n MCAST=y BATMAN_V=n
 * sparse v6.19-rc5 cfg: BLA=n DAT=n DEBUG=y TRACING=n MCAST=y BATMAN_V=n
 * sparse v6.19-rc5 cfg: BLA=y DAT=n DEBUG=n TRACING=y MCAST=n BATMAN_V=y
 * sparse v6.19-rc5 cfg: BLA=y DAT=y DEBUG=n TRACING=n MCAST=y BATMAN_V=n
 * sparse v6.19-rc5 cfg: BLA=y DAT=y DEBUG=n TRACING=y MCAST=n BATMAN_V=y
 * sparse v6.19-rc5 cfg: BLA=y DAT=y DEBUG=n TRACING=y MCAST=y BATMAN_V=y

main
----

 * checkpatch ./net/batman-adv/bat_v_elp.c
 * checkpatch ./net/batman-adv/bridge_loop_avoidance.c
 * checkpatch ./net/batman-adv/fragmentation.c
 * checkpatch ./net/batman-adv/gateway_client.c
 * checkpatch ./net/batman-adv/hard-interface.c
 * checkpatch ./net/batman-adv/hash.c
 * checkpatch ./net/batman-adv/multicast.c
 * checkpatch ./net/batman-adv/originator.c
 * checkpatch ./net/batman-adv/tp_meter.c
 * coccicheck
 * headers
 * sparse v6.19-rc5 cfg: BLA=n DAT=n DEBUG=n TRACING=y MCAST=y BATMAN_V=n
 * sparse v6.19-rc5 cfg: BLA=n DAT=n DEBUG=y TRACING=n MCAST=y BATMAN_V=n
 * sparse v6.19-rc5 cfg: BLA=n DAT=n DEBUG=y TRACING=y MCAST=n BATMAN_V=y
 * sparse v6.19-rc5 cfg: BLA=n DAT=y DEBUG=n TRACING=y MCAST=n BATMAN_V=n
 * sparse v6.19-rc5 cfg: BLA=n DAT=y DEBUG=y TRACING=n MCAST=y BATMAN_V=y
 * sparse v6.19-rc5 cfg: BLA=y DAT=n DEBUG=n TRACING=y MCAST=n BATMAN_V=y
 * sparse v6.19-rc5 cfg: BLA=y DAT=y DEBUG=y TRACING=n MCAST=n BATMAN_V=n
 * sparse v6.19-rc5 cfg: BLA=y DAT=y DEBUG=y TRACING=n MCAST=n BATMAN_V=y
 * sparse v6.19-rc5 cfg: BLA=y DAT=y DEBUG=y TRACING=y MCAST=y BATMAN_V=y


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

main: checkpatch ./net/batman-adv/bat_v_elp.c
---------------------------------------------

    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #358: FILE: ./net/batman-adv/bat_v_elp.c:358:
    +           metric_entry = kzalloc(sizeof(*metric_entry), GFP_ATOMIC);
    
    total: 0 errors, 1 warnings, 0 checks, 596 lines checked

main: checkpatch ./net/batman-adv/bridge_loop_avoidance.c
---------------------------------------------------------

    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #508: FILE: ./net/batman-adv/bridge_loop_avoidance.c:508:
    +   entry = kzalloc(sizeof(*entry), GFP_ATOMIC);
    
    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #702: FILE: ./net/batman-adv/bridge_loop_avoidance.c:702:
    +           claim = kzalloc(sizeof(*claim), GFP_ATOMIC);
    
    total: 0 errors, 2 warnings, 0 checks, 2482 lines checked

main: checkpatch ./net/batman-adv/fragmentation.c
-------------------------------------------------

    WARNING: Prefer kmalloc_obj over kmalloc with sizeof
    #159: FILE: ./net/batman-adv/fragmentation.c:159:
    +   frag_entry_new = kmalloc(sizeof(*frag_entry_new), GFP_ATOMIC);
    
    total: 0 errors, 1 warnings, 0 checks, 556 lines checked

main: checkpatch ./net/batman-adv/gateway_client.c
--------------------------------------------------

    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #335: FILE: ./net/batman-adv/gateway_client.c:335:
    +   gw_node = kzalloc(sizeof(*gw_node), GFP_ATOMIC);
    
    total: 0 errors, 1 warnings, 0 checks, 759 lines checked

main: checkpatch ./net/batman-adv/hard-interface.c
--------------------------------------------------

    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #874: FILE: ./net/batman-adv/hard-interface.c:874:
    +   hard_iface = kzalloc(sizeof(*hard_iface), GFP_ATOMIC);
    
    total: 0 errors, 1 warnings, 0 checks, 1016 lines checked

main: checkpatch ./net/batman-adv/hash.c
----------------------------------------

    WARNING: Prefer kmalloc_obj over kmalloc with sizeof
    #48: FILE: ./net/batman-adv/hash.c:48:
    +   hash = kmalloc(sizeof(*hash), GFP_ATOMIC);
    
    total: 0 errors, 1 warnings, 0 checks, 84 lines checked

main: checkpatch ./net/batman-adv/multicast.c
---------------------------------------------

    WARNING: Prefer kmalloc_obj over kmalloc with sizeof
    #402: FILE: ./net/batman-adv/multicast.c:402:
    +           new = kmalloc(sizeof(*new), GFP_ATOMIC);
    
    WARNING: Prefer kmalloc_obj over kmalloc with sizeof
    #475: FILE: ./net/batman-adv/multicast.c:475:
    +           new = kmalloc(sizeof(*new), GFP_ATOMIC);
    
    WARNING: Prefer kmalloc_obj over kmalloc with sizeof
    #635: FILE: ./net/batman-adv/multicast.c:635:
    +           new = kmalloc(sizeof(*new), GFP_ATOMIC);
    
    total: 0 errors, 3 warnings, 0 checks, 2195 lines checked

main: checkpatch ./net/batman-adv/originator.c
----------------------------------------------

    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #182: FILE: ./net/batman-adv/originator.c:182:
    +   vlan = kzalloc(sizeof(*vlan), GFP_ATOMIC);
    
    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #420: FILE: ./net/batman-adv/originator.c:420:
    +   orig_ifinfo = kzalloc(sizeof(*orig_ifinfo), GFP_ATOMIC);
    
    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #498: FILE: ./net/batman-adv/originator.c:498:
    +   neigh_ifinfo = kzalloc(sizeof(*neigh_ifinfo), GFP_ATOMIC);
    
    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #578: FILE: ./net/batman-adv/originator.c:578:
    +   hardif_neigh = kzalloc(sizeof(*hardif_neigh), GFP_ATOMIC);
    
    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #686: FILE: ./net/batman-adv/originator.c:686:
    +   neigh_node = kzalloc(sizeof(*neigh_node), GFP_ATOMIC);
    
    WARNING: Prefer kzalloc_obj over kzalloc with sizeof
    #950: FILE: ./net/batman-adv/originator.c:950:
    +   orig_node = kzalloc(sizeof(*orig_node), GFP_ATOMIC);
    
    total: 0 errors, 6 warnings, 0 checks, 1373 lines checked

main: checkpatch ./net/batman-adv/tp_meter.c
--------------------------------------------

    WARNING: Prefer kmalloc_obj over kmalloc with sizeof
    #1231: FILE: ./net/batman-adv/tp_meter.c:1231:
    +   new = kmalloc(sizeof(*new), GFP_ATOMIC);
    
    total: 0 errors, 1 warnings, 0 checks, 1490 lines checked

main: coccicheck
----------------

    warning: Skipping 
/home/build_test/build_env/linux-next/scripts/coccinelle/api/kmalloc_objs.cocci 
as it does not match mode 'report'

main: headers
-------------

    diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c
    index cab83d37..8caa1879 100644
    --- a/net/batman-adv/bat_v_ogm.c
    +++ b/net/batman-adv/bat_v_ogm.c
    @@ -8,6 +8,7 @@
     #include "main.h" // IWYU pragma: keep
     
     #include <linux/atomic.h>
    +#include <linux/bug.h>
     #include <linux/byteorder/generic.h>
     #include <linux/container_of.h>
     #include <linux/errno.h>
    diff --git a/net/batman-adv/fragmentation.c b/net/batman-adv/fragmentation.c
    index 36ed22f3..b27755f7 100644
    --- a/net/batman-adv/fragmentation.c
    +++ b/net/batman-adv/fragmentation.c
    @@ -8,6 +8,7 @@
     #include "main.h" // IWYU pragma: keep
     
     #include <linux/atomic.h>
    +#include <linux/bug.h>
     #include <linux/byteorder/generic.h>
     #include <linux/errno.h>
     #include <linux/etherdevice.h>
    diff --git a/net/batman-adv/gateway_client.c 
b/net/batman-adv/gateway_client.c
    index 1912574b..331f258d 100644
    --- a/net/batman-adv/gateway_client.c
    +++ b/net/batman-adv/gateway_client.c
    @@ -8,6 +8,7 @@
     #include "main.h" // IWYU pragma: keep
     
     #include <linux/atomic.h>
    +#include <linux/bug.h>
     #include <linux/byteorder/generic.h>
     #include <linux/container_of.h>
     #include <linux/err.h>
    diff --git a/net/batman-adv/hard-interface.c 
b/net/batman-adv/hard-interface.c
    index 152e2a39..aff20f08 100644
    --- a/net/batman-adv/hard-interface.c
    +++ b/net/batman-adv/hard-interface.c
    @@ -8,6 +8,7 @@
     #include "main.h" // IWYU pragma: keep
     
     #include <linux/atomic.h>
    +#include <linux/bug.h>
     #include <linux/byteorder/generic.h>
     #include <linux/compiler.h>
     #include <linux/container_of.h>
    diff --git a/net/batman-adv/translation-table.c 
b/net/batman-adv/translation-table.c
    index ff3fcdf5..a72c30ba 100644
    --- a/net/batman-adv/translation-table.c
    +++ b/net/batman-adv/translation-table.c
    @@ -9,6 +9,7 @@
     
     #include <linux/atomic.h>
     #include <linux/bitops.h>
    +#include <linux/bug.h>
     #include <linux/build_bug.h>
     #include <linux/byteorder/generic.h>
     #include <linux/cache.h>
    diff --git a/net/batman-adv/tvlv.c b/net/batman-adv/tvlv.c
    index a2b0d09f..858308a9 100644
    --- a/net/batman-adv/tvlv.c
    +++ b/net/batman-adv/tvlv.c
    @@ -6,6 +6,7 @@
     
     #include "main.h" // IWYU pragma: keep
     
    +#include <linux/bug.h>
     #include <linux/byteorder/generic.h>
     #include <linux/container_of.h>
     #include <linux/etherdevice.h>

main: sparse v6.19-rc5 cfg: BLA=n DAT=n DEBUG=n TRACING=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    net/batman-adv/main.c:682:1: error: bad integer constant expression
    net/batman-adv/main.c:682:1: error: static assertion failed: 
"MODULE_INFO(license, ...) contains embedded NUL byte"
    net/batman-adv/main.c:684:1: error: bad integer constant expression
    net/batman-adv/main.c:684:1: error: static assertion failed: 
"MODULE_INFO(author, ...) contains embedded NUL byte"
    net/batman-adv/main.c:685:1: error: bad integer constant expression
    net/batman-adv/main.c:685:1: error: static assertion failed: 
"MODULE_INFO(description, ...) contains embedded NUL byte"
    net/batman-adv/main.c:686:1: error: bad integer constant expression
    net/batman-adv/main.c:686:1: error: static assertion failed: 
"MODULE_INFO(version, ...) contains embedded NUL byte"
    net/batman-adv/main.c:687:1: error: bad integer constant expression
    net/batman-adv/main.c:687:1: error: static assertion failed: 
"MODULE_INFO(alias, ...) contains embedded NUL byte"
    net/batman-adv/main.c:688:1: error: bad integer constant expression
    net/batman-adv/main.c:688:1: error: static assertion failed: 
"MODULE_INFO(alias, ...) contains embedded NUL byte"
    net/batman-adv/tp_meter.c:792:15: warning: symbol '__ret' shadows an 
earlier one
    net/batman-adv/tp_meter.c:792:15: originally declared here

main: sparse v6.19-rc5 cfg: BLA=y DAT=y DEBUG=y TRACING=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    net/batman-adv/distributed-arp-table.c:1446:19: warning: cast from 
restricted __be32 *
    net/batman-adv/distributed-arp-table.c:1495:23: warning: cast from 
restricted __be32 [usertype] *[assigned] magic
    net/batman-adv/distributed-arp-table.c:1573:24: warning: cast from 
restricted __be32 [usertype] *[assigned] yiaddr
    net/batman-adv/main.c:682:1: error: bad integer constant expression
    net/batman-adv/main.c:682:1: error: static assertion failed: 
"MODULE_INFO(license, ...) contains embedded NUL byte"
    net/batman-adv/main.c:684:1: error: bad integer constant expression
    net/batman-adv/main.c:684:1: error: static assertion failed: 
"MODULE_INFO(author, ...) contains embedded NUL byte"
    net/batman-adv/main.c:685:1: error: bad integer constant expression
    net/batman-adv/main.c:685:1: error: static assertion failed: 
"MODULE_INFO(description, ...) contains embedded NUL byte"
    net/batman-adv/main.c:686:1: error: bad integer constant expression
    net/batman-adv/main.c:686:1: error: static assertion failed: 
"MODULE_INFO(version, ...) contains embedded NUL byte"
    net/batman-adv/main.c:687:1: error: bad integer constant expression
    net/batman-adv/main.c:687:1: error: static assertion failed: 
"MODULE_INFO(alias, ...) contains embedded NUL byte"
    net/batman-adv/main.c:688:1: error: bad integer constant expression
    net/batman-adv/main.c:688:1: error: static assertion failed: 
"MODULE_INFO(alias, ...) contains embedded NUL byte"
    net/batman-adv/tp_meter.c:792:15: warning: symbol '__ret' shadows an 
earlier one
    net/batman-adv/tp_meter.c:792:15: originally declared here


Statistics
==========

stable
------

Failed tests:                 6
Started build tests:        246
Tested Linux versions:       36
Tested configs:              63

main
----

Failed tests:                20
Started build tests:        228
Tested Linux versions:       36
Tested configs:              63

Reply via email to