All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH rdma-next v1 12/15] RDMA/hfi1: Use attributes for the port sysfs
Date: Mon, 07 Jun 2021 16:31:31 +0300	[thread overview]
Message-ID: <YL4fsx5U5xgDNulm@unreal> (raw)
In-Reply-To: <202106072139.6TXj5TQf-lkp@intel.com>

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

On Mon, Jun 07, 2021 at 09:07:09PM +0800, kernel test robot wrote:
> Hi Leon,
> 
> I love your patch! Perhaps something to improve:
> 
> [auto build test WARNING on rdma/for-next]
> [also build test WARNING on next-20210607]
> [cannot apply to v5.13-rc5]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch]
> 
> url:    https://github.com/0day-ci/linux/commits/Leon-Romanovsky/Reorganize-sysfs-file-creation-for-struct-ib_devices/20210607-161959
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next
> config: x86_64-randconfig-b001-20210607 (attached as .config)
> compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project ae973380c5f6be77ce395022be40350942260be9)
> 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://github.com/0day-ci/linux/commit/1e8e4eebe16212ad4853b902eb8d045fce03f826
>         git remote add linux-review https://github.com/0day-ci/linux
>         git fetch --no-tags linux-review Leon-Romanovsky/Reorganize-sysfs-file-creation-for-struct-ib_devices/20210607-161959
>         git checkout 1e8e4eebe16212ad4853b902eb8d045fce03f826
>         # 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/hw/hfi1/sysfs.c:175:37: warning: unused variable 'port_cc_group' [-Wunused-const-variable]
>    static const struct attribute_group port_cc_group = {
>                                        ^
>    1 warning generated.

Jason,

You forgot to call to rdma_set_device_sysfs_group(... , port_cc_group)
in hfi1.

Thanks

> 
> 
> vim +/port_cc_group +175 drivers/infiniband/hw/hfi1/sysfs.c
> 
>    174	
>  > 175	static const struct attribute_group port_cc_group = {
>    176		.name = "CCMgtA",
>    177		.attrs = port_cc_attributes,
>    178		.bin_attrs = port_cc_bin_attributes,
>    179	};
>    180	
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org


  reply	other threads:[~2021-06-07 13:31 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07  8:17 [PATCH rdma-next v1 00/15] Reorganize sysfs file creation for struct ib_devices Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 01/15] RDMA: Split the alloc_hw_stats() ops to port and device variants Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 02/15] RDMA/core: Replace the ib_port_data hw_stats pointers with a ib_port pointer Leon Romanovsky
2021-06-07 10:23   ` Greg KH
2021-06-07 11:00     ` Leon Romanovsky
2021-06-07 11:23       ` Greg KH
2021-06-07 12:32     ` Jason Gunthorpe
2021-06-07  8:17 ` [PATCH rdma-next v1 03/15] RDMA/core: Split port and device counter sysfs attributes Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 04/15] RDMA/core: Split gid_attrs related sysfs from add_port() Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 05/15] RDMA/core: Simplify how the gid_attrs sysfs is created Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 06/15] RDMA/core: Simplify how the port " Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 07/15] RDMA/core: Create the device hw_counters through the normal groups mechanism Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 08/15] RDMA/core: Remove the kobject_uevent() NOP Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 09/15] RDMA/core: Expose the ib port sysfs attribute machinery Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 10/15] RDMA/cm: Use an attribute_group on the ib_port_attribute intead of kobj's Leon Romanovsky
2021-06-07 10:25   ` Greg KH
2021-06-07 10:51     ` Leon Romanovsky
2021-06-07 11:22       ` Greg KH
2021-06-07 11:37         ` Leon Romanovsky
2021-06-07 12:08           ` Greg KH
2021-06-07 12:41             ` Leon Romanovsky
2021-06-07 12:14     ` Jason Gunthorpe
2021-06-07 12:39       ` Greg KH
2021-06-07 12:50         ` Jason Gunthorpe
2021-06-11  7:25           ` Haakon Bugge
2021-06-11  8:16             ` Greg KH
2021-06-14  3:27               ` Haakon Bugge
2021-06-07  8:17 ` [PATCH rdma-next v1 11/15] RDMA/qib: Use attributes for the port sysfs Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 12/15] RDMA/hfi1: " Leon Romanovsky
2021-06-07 13:07   ` kernel test robot
2021-06-07 13:31     ` Leon Romanovsky [this message]
2021-06-07  8:17 ` [PATCH rdma-next v1 13/15] RDMA: Change ops->init_port to ops->port_groups Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 14/15] RDMA/core: Allow port_groups to be used with namespaces Leon Romanovsky
2021-06-07 13:29   ` Parav Pandit
2021-06-07 23:32     ` Jason Gunthorpe
2021-06-08  5:29       ` Parav Pandit
2021-06-08  4:55     ` Leon Romanovsky
2021-06-08  5:32       ` Parav Pandit
2021-06-08  6:57         ` Leon Romanovsky
2021-06-07  8:17 ` [PATCH rdma-next v1 15/15] RDMA: Remove rdma_set_device_sysfs_group() Leon Romanovsky

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=YL4fsx5U5xgDNulm@unreal \
    --to=leon@kernel.org \
    --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.