lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 2 Aug 2021 17:41:52 +0800
From:   kernel test robot <lkp@...el.com>
To:     Yajun Deng <yajun.deng@...ux.dev>, davem@...emloft.net,
        kuba@...nel.org, yoshfuji@...ux-ipv6.org, dsahern@...nel.org
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        Yajun Deng <yajun.deng@...ux.dev>
Subject: Re: [PATCH net-next] net: Keep vertical alignment

Hi Yajun,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Yajun-Deng/net-Keep-vertical-alignment/20210802-131102
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git aae950b189413ed3201354600d44223da0bcf63c
config: x86_64-randconfig-a002-20210802 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/895e15bdf966d3c440d9e2e4cc0c9de89d899420
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Yajun-Deng/net-Keep-vertical-alignment/20210802-131102
        git checkout 895e15bdf966d3c440d9e2e4cc0c9de89d899420
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash net/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> net/core/neighbour.c:3325:6: error: too many arguments to function call, expected 2, have 15
                      atomic_read(&tbl->entries),
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/seq_file.h:120:6: note: 'seq_puts' declared here
   void seq_puts(struct seq_file *m, const char *s);
        ^
   1 error generated.
--
>> net/ipv4/route.c:286:6: error: too many arguments to function call, expected 2, have 19
                      dst_entries_get_slow(&ipv4_dst_ops),
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/seq_file.h:120:6: note: 'seq_puts' declared here
   void seq_puts(struct seq_file *m, const char *s);
        ^
   1 error generated.


vim +3325 net/core/neighbour.c

^1da177e4c3f41 Linus Torvalds    2005-04-16  3311  
^1da177e4c3f41 Linus Torvalds    2005-04-16  3312  static int neigh_stat_seq_show(struct seq_file *seq, void *v)
^1da177e4c3f41 Linus Torvalds    2005-04-16  3313  {
71a5053a41fd8d Christoph Hellwig 2018-04-15  3314  	struct neigh_table *tbl = PDE_DATA(file_inode(seq->file));
^1da177e4c3f41 Linus Torvalds    2005-04-16  3315  	struct neigh_statistics *st = v;
^1da177e4c3f41 Linus Torvalds    2005-04-16  3316  
^1da177e4c3f41 Linus Torvalds    2005-04-16  3317  	if (v == SEQ_START_TOKEN) {
895e15bdf966d3 Yajun Deng        2021-08-02  3318  		seq_puts(seq, "entries  allocs   destroys hash_grows lookups  hits     res_failed rcv_probes_mcast rcv_probes_ucast periodic_gc_runs forced_gc_runs unresolved_discards table_fulls\n");
^1da177e4c3f41 Linus Torvalds    2005-04-16  3319  		return 0;
^1da177e4c3f41 Linus Torvalds    2005-04-16  3320  	}
^1da177e4c3f41 Linus Torvalds    2005-04-16  3321  
895e15bdf966d3 Yajun Deng        2021-08-02  3322  	seq_puts(seq, "%08x %08lx %08lx %08lx   %08lx %08lx %08lx   "
895e15bdf966d3 Yajun Deng        2021-08-02  3323  		      "%08lx         %08lx         %08lx         "
895e15bdf966d3 Yajun Deng        2021-08-02  3324  		      "%08lx       %08lx            %08lx\n",
^1da177e4c3f41 Linus Torvalds    2005-04-16 @3325  		   atomic_read(&tbl->entries),
^1da177e4c3f41 Linus Torvalds    2005-04-16  3326  
^1da177e4c3f41 Linus Torvalds    2005-04-16  3327  		   st->allocs,
^1da177e4c3f41 Linus Torvalds    2005-04-16  3328  		   st->destroys,
^1da177e4c3f41 Linus Torvalds    2005-04-16  3329  		   st->hash_grows,
^1da177e4c3f41 Linus Torvalds    2005-04-16  3330  
^1da177e4c3f41 Linus Torvalds    2005-04-16  3331  		   st->lookups,
^1da177e4c3f41 Linus Torvalds    2005-04-16  3332  		   st->hits,
^1da177e4c3f41 Linus Torvalds    2005-04-16  3333  
^1da177e4c3f41 Linus Torvalds    2005-04-16  3334  		   st->res_failed,
^1da177e4c3f41 Linus Torvalds    2005-04-16  3335  
^1da177e4c3f41 Linus Torvalds    2005-04-16  3336  		   st->rcv_probes_mcast,
^1da177e4c3f41 Linus Torvalds    2005-04-16  3337  		   st->rcv_probes_ucast,
^1da177e4c3f41 Linus Torvalds    2005-04-16  3338  
^1da177e4c3f41 Linus Torvalds    2005-04-16  3339  		   st->periodic_gc_runs,
9a6d276e85aa3d Neil Horman       2008-07-16  3340  		   st->forced_gc_runs,
fb811395cd5a71 Rick Jones        2015-08-07  3341  		   st->unres_discards,
fb811395cd5a71 Rick Jones        2015-08-07  3342  		   st->table_fulls
^1da177e4c3f41 Linus Torvalds    2005-04-16  3343  		   );
^1da177e4c3f41 Linus Torvalds    2005-04-16  3344  
^1da177e4c3f41 Linus Torvalds    2005-04-16  3345  	return 0;
^1da177e4c3f41 Linus Torvalds    2005-04-16  3346  }
^1da177e4c3f41 Linus Torvalds    2005-04-16  3347  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (38766 bytes)

Powered by blists - more mailing lists