All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH RFC net-next] net/smc: Unbind buffer size from clcsock and make it tunable
Date: Tue, 23 Nov 2021 02:32:20 +0800	[thread overview]
Message-ID: <202111230232.ZeGSYlE8-lkp@intel.com> (raw)
In-Reply-To: <20211122134255.63347-1-tonylu@linux.alibaba.com>

[-- Attachment #1: Type: text/plain, Size: 3829 bytes --]

Hi Tony,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Tony-Lu/net-smc-Unbind-buffer-size-from-clcsock-and-make-it-tunable/20211122-215118
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 89f971182417cb27abd82cfc48a7f36b99352ddc
config: mips-randconfig-r032-20211122 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 11.2.0
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/f8b865aff3164098137794ac439371b2391c836b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Tony-Lu/net-smc-Unbind-buffer-size-from-clcsock-and-make-it-tunable/20211122-215118
        git checkout f8b865aff3164098137794ac439371b2391c836b
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash net/

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

All error/warnings (new ones prefixed by >>):

   net/smc/smc_sysctl.c: In function 'smc_sysctl_init_net':
>> net/smc/smc_sysctl.c:50:17: error: 'struct netns_smc' has no member named 'smc_hdr'
      50 |         net->smc.smc_hdr = register_net_sysctl(net, "net/smc", table);
         |                 ^
   net/smc/smc_sysctl.c:51:22: error: 'struct netns_smc' has no member named 'smc_hdr'
      51 |         if (!net->smc.smc_hdr)
         |                      ^
   net/smc/smc_sysctl.c: In function 'smc_sysctl_exit_net':
   net/smc/smc_sysctl.c:65:45: error: 'struct netns_smc' has no member named 'smc_hdr'
      65 |         unregister_net_sysctl_table(net->smc.smc_hdr);
         |                                             ^
   net/smc/smc_sysctl.c: At top level:
   net/smc/smc_sysctl.c:73:12: warning: no previous prototype for 'smc_sysctl_init' [-Wmissing-prototypes]
      73 | int __init smc_sysctl_init(void)
         |            ^~~~~~~~~~~~~~~
   net/smc/smc_sysctl.c:78:6: warning: no previous prototype for 'smc_sysctl_exit' [-Wmissing-prototypes]
      78 | void smc_sysctl_exit(void)
         |      ^~~~~~~~~~~~~~~
--
   In file included from net/smc/af_smc.c:54:
>> net/smc/smc_sysctl.h:13:5: warning: no previous prototype for 'smc_sysctl_init' [-Wmissing-prototypes]
      13 | int smc_sysctl_init(void)
         |     ^~~~~~~~~~~~~~~
>> net/smc/smc_sysctl.h:18:6: warning: no previous prototype for 'smc_sysctl_exit' [-Wmissing-prototypes]
      18 | void smc_sysctl_exit(void) { }
         |      ^~~~~~~~~~~~~~~


vim +50 net/smc/smc_sysctl.c

    33	
    34	static __net_init int smc_sysctl_init_net(struct net *net)
    35	{
    36		struct ctl_table *table;
    37	
    38		table = smc_table;
    39		if (!net_eq(net, &init_net)) {
    40			int i;
    41	
    42			table = kmemdup(table, sizeof(smc_table), GFP_KERNEL);
    43			if (!table)
    44				goto err_alloc;
    45	
    46			for (i = 0; i < ARRAY_SIZE(smc_table) - 1; i++)
    47				table[i].data += (void *)net - (void *)&init_net;
    48		}
    49	
  > 50		net->smc.smc_hdr = register_net_sysctl(net, "net/smc", table);
    51		if (!net->smc.smc_hdr)
    52			goto err_reg;
    53	
    54		return 0;
    55	
    56	err_reg:
    57		if (!net_eq(net, &init_net))
    58			kfree(table);
    59	err_alloc:
    60		return -ENOMEM;
    61	}
    62	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39227 bytes --]

      parent reply	other threads:[~2021-11-22 18:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 13:42 [PATCH RFC net-next] net/smc: Unbind buffer size from clcsock and make it tunable Tony Lu
2021-11-22 15:08 ` Karsten Graul
2021-11-23  6:56   ` Tony Lu
2021-11-23  9:33     ` Karsten Graul
2021-11-24  4:46       ` Tony Lu
2021-11-22 17:18 ` kernel test robot
2021-11-22 18:32 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202111230232.ZeGSYlE8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.