From: kernel test robot <lkp@intel.com>
To: "Kobayashi, Daisuke" <kobayashi.da-06@fujitsu.com>,
linux-pci@vger.kernel.org, kw@linux.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, "Kobayashi,
Daisuke" <kobayashi.da-06@fujitsu.com>
Subject: Re: [PATCH v3] Export PBEC Data register into sysfs
Date: Wed, 11 Sep 2024 08:53:38 +0800 [thread overview]
Message-ID: <202409110845.zaUjhBmy-lkp@intel.com> (raw)
In-Reply-To: <20240910090951.332773-1-kobayashi.da-06@fujitsu.com>
Hi Kobayashi,Daisuke,
kernel test robot noticed the following build errors:
[auto build test ERROR on pci/next]
[also build test ERROR on pci/for-linus linus/master v6.11-rc7 next-20240910]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Kobayashi-Daisuke/Export-PBEC-Data-register-into-sysfs/20240910-170834
base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link: https://lore.kernel.org/r/20240910090951.332773-1-kobayashi.da-06%40fujitsu.com
patch subject: [PATCH v3] Export PBEC Data register into sysfs
config: arm-randconfig-002-20240911 (https://download.01.org/0day-ci/archive/20240911/202409110845.zaUjhBmy-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project bf684034844c660b778f0eba103582f582b710c9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240911/202409110845.zaUjhBmy-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409110845.zaUjhBmy-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/pci/pci-sysfs.c:18:
In file included from include/linux/pci.h:1646:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2228:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> drivers/pci/pci-sysfs.c:663:3: error: use of undeclared identifier 'dev_attr_pbec'; did you mean 'dev_attr_irq'?
663 | &dev_attr_pbec.attr,
| ^~~~~~~~~~~~~
| dev_attr_irq
drivers/pci/pci-sysfs.c:76:8: note: 'dev_attr_irq' declared here
76 | static DEVICE_ATTR_RO(irq);
| ^
include/linux/device.h:199:26: note: expanded from macro 'DEVICE_ATTR_RO'
199 | struct device_attribute dev_attr_##_name = __ATTR_RO(_name)
| ^
<scratch space>:58:1: note: expanded from here
58 | dev_attr_irq
| ^
1 warning and 1 error generated.
vim +663 drivers/pci/pci-sysfs.c
657
658 static struct attribute *pcie_dev_attrs[] = {
659 &dev_attr_current_link_speed.attr,
660 &dev_attr_current_link_width.attr,
661 &dev_attr_max_link_width.attr,
662 &dev_attr_max_link_speed.attr,
> 663 &dev_attr_pbec.attr,
664 NULL,
665 };
666
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2024-09-11 0:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 9:09 [PATCH v3] Export PBEC Data register into sysfs Kobayashi,Daisuke
2024-09-11 0:53 ` 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=202409110845.zaUjhBmy-lkp@intel.com \
--to=lkp@intel.com \
--cc=kobayashi.da-06@fujitsu.com \
--cc=kw@linux.com \
--cc=linux-pci@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox