From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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
Date: Thu, 03 Jun 2021 00:19:56 +0800 [thread overview]
Message-ID: <202106030051.PxqzVb83-lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2021-06-02 16:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-02 16:19 kernel test robot [this message]
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
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=202106030051.PxqzVb83-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.