All of lore.kernel.org
 help / color / mirror / Atom feed
* [leon-rdma:rdma-next 35/40] drivers/infiniband/core/sysfs.c:1462: warning: expecting prototype for ib_port_register_client_group(). Prototype was for ib_port_register_client_groups() instead
@ 2021-06-02 17:55 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-02 17:55 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git rdma-next
head:   bd8ef717351e39073d69198e36b3c27d22673c4d
commit: 0aa000b6bb3b5125b322ae5bb85b5a5f6d5e1f23 [35/40] RDMA/cm: Use an attribute_group on the ib_port_attribute intead of kobj's
config: x86_64-randconfig-a006-20210601 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project db26cd30b6dd65e88d786e97a1e453af5cd48966)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commit/?id=0aa000b6bb3b5125b322ae5bb85b5a5f6d5e1f23
        git remote add leon-rdma https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
        git fetch --no-tags leon-rdma rdma-next
        git checkout 0aa000b6bb3b5125b322ae5bb85b5a5f6d5e1f23
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

>> drivers/infiniband/core/sysfs.c:1462: warning: expecting prototype for ib_port_register_client_group(). Prototype was for ib_port_register_client_groups() instead


vim +1462 drivers/infiniband/core/sysfs.c

^1da177e4c3f41 Linus Torvalds  2005-04-16  1450  
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1451  /**
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1452   * ib_port_register_client_group - Add an ib_client's attributes to the port
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1453   *
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1454   * @ibdev: IB device to add counters
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1455   * @port_num: valid port number
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1456   * @groups: Group list of attributes
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1457   *
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1458   * Do not use. Only for legacy sysfs compatibility.
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1459   */
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1460  int ib_port_register_client_groups(struct ib_device *ibdev, u32 port_num,
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1461  				   const struct attribute_group **groups)
c87e65cfb97c7f Leon Romanovsky 2019-03-11 @1462  {
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1463  	return sysfs_create_groups(&ibdev->port_data[port_num].sysfs->kobj,
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1464  				   groups);
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1465  }
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1466  EXPORT_SYMBOL(ib_port_register_client_groups);
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1467  

:::::: The code at line 1462 was first introduced by commit
:::::: c87e65cfb97c7f325132a68288ed76ba7bdcd2c6 RDMA/cm: Move debug counters to be under relevant IB device

:::::: TO: Leon Romanovsky <leonro@mellanox.com>
:::::: CC: Jason Gunthorpe <jgg@mellanox.com>

---
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: 41626 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [leon-rdma:rdma-next 35/40] drivers/infiniband/core/sysfs.c:1462: warning: expecting prototype for ib_port_register_client_group(). Prototype was for ib_port_register_client_groups() instead
@ 2021-06-02 16:19 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-02 16:19 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git rdma-next
head:   bd8ef717351e39073d69198e36b3c27d22673c4d
commit: 0aa000b6bb3b5125b322ae5bb85b5a5f6d5e1f23 [35/40] RDMA/cm: Use an attribute_group on the ib_port_attribute intead of kobj's
config: arm-randconfig-p001-20210602 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commit/?id=0aa000b6bb3b5125b322ae5bb85b5a5f6d5e1f23
        git remote add leon-rdma https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
        git fetch --no-tags leon-rdma rdma-next
        git checkout 0aa000b6bb3b5125b322ae5bb85b5a5f6d5e1f23
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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

All warnings (new ones prefixed by >>):

>> drivers/infiniband/core/sysfs.c:1462: warning: expecting prototype for ib_port_register_client_group(). Prototype was for ib_port_register_client_groups() instead

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for QCOM_SCM
   Depends on (ARM || ARM64) && HAVE_ARM_SMCCC
   Selected by
   - ARM_QCOM_SPM_CPUIDLE && CPU_IDLE && (ARM || ARM64) && (ARCH_QCOM || COMPILE_TEST && !ARM64 && MMU


vim +1462 drivers/infiniband/core/sysfs.c

^1da177e4c3f41 Linus Torvalds  2005-04-16  1450  
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1451  /**
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1452   * ib_port_register_client_group - Add an ib_client's attributes to the port
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1453   *
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1454   * @ibdev: IB device to add counters
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1455   * @port_num: valid port number
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1456   * @groups: Group list of attributes
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1457   *
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1458   * Do not use. Only for legacy sysfs compatibility.
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1459   */
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1460  int ib_port_register_client_groups(struct ib_device *ibdev, u32 port_num,
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1461  				   const struct attribute_group **groups)
c87e65cfb97c7f Leon Romanovsky 2019-03-11 @1462  {
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1463  	return sysfs_create_groups(&ibdev->port_data[port_num].sysfs->kobj,
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1464  				   groups);
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1465  }
0aa000b6bb3b51 Jason Gunthorpe 2021-05-12  1466  EXPORT_SYMBOL(ib_port_register_client_groups);
c87e65cfb97c7f Leon Romanovsky 2019-03-11  1467  

:::::: The code at line 1462 was first introduced by commit
:::::: c87e65cfb97c7f325132a68288ed76ba7bdcd2c6 RDMA/cm: Move debug counters to be under relevant IB device

:::::: TO: Leon Romanovsky <leonro@mellanox.com>
:::::: CC: Jason Gunthorpe <jgg@mellanox.com>

---
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: 40157 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-02 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 17:55 [leon-rdma:rdma-next 35/40] drivers/infiniband/core/sysfs.c:1462: warning: expecting prototype for ib_port_register_client_group(). Prototype was for ib_port_register_client_groups() instead kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-06-02 16:19 kernel test robot

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.