From: kernel test robot <lkp@intel.com>
To: Stuart Hayes <stuart.w.hayes@gmail.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [RFC PATCH v2 3/3] Register auxiliary device for PCIe enclosure management
Date: Thu, 3 Feb 2022 10:39:51 +0800 [thread overview]
Message-ID: <202202031021.1ORRkl1U-lkp@intel.com> (raw)
In-Reply-To: <88898bbc85c85dce3c355c5f0399b593da0d4d27.1643822289.git.stuart.w.hayes@gmail.com>
Hi Stuart,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on helgaas-pci/next]
[also build test WARNING on char-misc/char-misc-testing pavel-leds/for-next linus/master v5.17-rc2 next-20220202]
[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/Stuart-Hayes/Add-PCIe-enclosure-management-support/20220203-020040
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-randconfig-a015-20220131 (https://download.01.org/0day-ci/archive/20220203/202202031021.1ORRkl1U-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6b1e844b69f15bb7dffaf9365cd2b355d2eb7579)
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/407e7eb11ce495697eb2ee66d77f20d69548be14
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Stuart-Hayes/Add-PCIe-enclosure-management-support/20220203-020040
git checkout 407e7eb11ce495697eb2ee66d77f20d69548be14
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/iio/frequency/ drivers/nvme/host/
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 >>):
In file included from drivers/nvme/host/pci.c:31:
>> include/linux/pcie_em.h:25:38: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
1 << GET_SUPPORTED_STATES_DSM ||
^
include/linux/pcie_em.h:25:38: note: use '|' for a bitwise operation
1 << GET_SUPPORTED_STATES_DSM ||
^~
|
include/linux/pcie_em.h:26:27: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
1 << GET_STATE_DSM ||
^
include/linux/pcie_em.h:26:27: note: use '|' for a bitwise operation
1 << GET_STATE_DSM ||
^~
|
>> include/linux/pcie_em.h:27:10: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
1 << SET_STATE_DSM))
^
include/linux/pcie_em.h:25:10: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
1 << GET_SUPPORTED_STATES_DSM ||
^
include/linux/pcie_em.h:26:10: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
1 << GET_STATE_DSM ||
^
5 warnings generated.
vim +25 include/linux/pcie_em.h
eefb0f75026145 Stuart Hayes 2022-02-02 15
eefb0f75026145 Stuart Hayes 2022-02-02 16 static inline bool pci_has_pcie_em_dsm(struct pci_dev *pdev)
eefb0f75026145 Stuart Hayes 2022-02-02 17 {
eefb0f75026145 Stuart Hayes 2022-02-02 18 #ifdef CONFIG_ACPI
eefb0f75026145 Stuart Hayes 2022-02-02 19 acpi_handle handle;
eefb0f75026145 Stuart Hayes 2022-02-02 20 const guid_t pcie_ssd_leds_dsm_guid = PCIE_SSD_LEDS_DSM_GUID;
eefb0f75026145 Stuart Hayes 2022-02-02 21
eefb0f75026145 Stuart Hayes 2022-02-02 22 handle = ACPI_HANDLE(&pdev->dev);
eefb0f75026145 Stuart Hayes 2022-02-02 23 if (handle)
eefb0f75026145 Stuart Hayes 2022-02-02 24 if (acpi_check_dsm(handle, &pcie_ssd_leds_dsm_guid, 0x1,
eefb0f75026145 Stuart Hayes 2022-02-02 @25 1 << GET_SUPPORTED_STATES_DSM ||
eefb0f75026145 Stuart Hayes 2022-02-02 @26 1 << GET_STATE_DSM ||
eefb0f75026145 Stuart Hayes 2022-02-02 @27 1 << SET_STATE_DSM))
eefb0f75026145 Stuart Hayes 2022-02-02 28 return true;
eefb0f75026145 Stuart Hayes 2022-02-02 29 #endif
eefb0f75026145 Stuart Hayes 2022-02-02 30 return false;
eefb0f75026145 Stuart Hayes 2022-02-02 31 }
eefb0f75026145 Stuart Hayes 2022-02-02 32
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH v2 3/3] Register auxiliary device for PCIe enclosure management
Date: Thu, 03 Feb 2022 10:39:51 +0800 [thread overview]
Message-ID: <202202031021.1ORRkl1U-lkp@intel.com> (raw)
In-Reply-To: <88898bbc85c85dce3c355c5f0399b593da0d4d27.1643822289.git.stuart.w.hayes@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 5020 bytes --]
Hi Stuart,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on helgaas-pci/next]
[also build test WARNING on char-misc/char-misc-testing pavel-leds/for-next linus/master v5.17-rc2 next-20220202]
[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/Stuart-Hayes/Add-PCIe-enclosure-management-support/20220203-020040
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-randconfig-a015-20220131 (https://download.01.org/0day-ci/archive/20220203/202202031021.1ORRkl1U-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6b1e844b69f15bb7dffaf9365cd2b355d2eb7579)
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/407e7eb11ce495697eb2ee66d77f20d69548be14
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Stuart-Hayes/Add-PCIe-enclosure-management-support/20220203-020040
git checkout 407e7eb11ce495697eb2ee66d77f20d69548be14
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/iio/frequency/ drivers/nvme/host/
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 >>):
In file included from drivers/nvme/host/pci.c:31:
>> include/linux/pcie_em.h:25:38: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
1 << GET_SUPPORTED_STATES_DSM ||
^
include/linux/pcie_em.h:25:38: note: use '|' for a bitwise operation
1 << GET_SUPPORTED_STATES_DSM ||
^~
|
include/linux/pcie_em.h:26:27: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
1 << GET_STATE_DSM ||
^
include/linux/pcie_em.h:26:27: note: use '|' for a bitwise operation
1 << GET_STATE_DSM ||
^~
|
>> include/linux/pcie_em.h:27:10: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
1 << SET_STATE_DSM))
^
include/linux/pcie_em.h:25:10: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
1 << GET_SUPPORTED_STATES_DSM ||
^
include/linux/pcie_em.h:26:10: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]
1 << GET_STATE_DSM ||
^
5 warnings generated.
vim +25 include/linux/pcie_em.h
eefb0f75026145 Stuart Hayes 2022-02-02 15
eefb0f75026145 Stuart Hayes 2022-02-02 16 static inline bool pci_has_pcie_em_dsm(struct pci_dev *pdev)
eefb0f75026145 Stuart Hayes 2022-02-02 17 {
eefb0f75026145 Stuart Hayes 2022-02-02 18 #ifdef CONFIG_ACPI
eefb0f75026145 Stuart Hayes 2022-02-02 19 acpi_handle handle;
eefb0f75026145 Stuart Hayes 2022-02-02 20 const guid_t pcie_ssd_leds_dsm_guid = PCIE_SSD_LEDS_DSM_GUID;
eefb0f75026145 Stuart Hayes 2022-02-02 21
eefb0f75026145 Stuart Hayes 2022-02-02 22 handle = ACPI_HANDLE(&pdev->dev);
eefb0f75026145 Stuart Hayes 2022-02-02 23 if (handle)
eefb0f75026145 Stuart Hayes 2022-02-02 24 if (acpi_check_dsm(handle, &pcie_ssd_leds_dsm_guid, 0x1,
eefb0f75026145 Stuart Hayes 2022-02-02 @25 1 << GET_SUPPORTED_STATES_DSM ||
eefb0f75026145 Stuart Hayes 2022-02-02 @26 1 << GET_STATE_DSM ||
eefb0f75026145 Stuart Hayes 2022-02-02 @27 1 << SET_STATE_DSM))
eefb0f75026145 Stuart Hayes 2022-02-02 28 return true;
eefb0f75026145 Stuart Hayes 2022-02-02 29 #endif
eefb0f75026145 Stuart Hayes 2022-02-02 30 return false;
eefb0f75026145 Stuart Hayes 2022-02-02 31 }
eefb0f75026145 Stuart Hayes 2022-02-02 32
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2022-02-03 2:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-02 17:59 [RFC PATCH v2 0/3] Add PCIe enclosure management support Stuart Hayes
2022-02-02 17:59 ` [RFC PATCH v2 1/3] Add support for seven more indicators in enclosure driver Stuart Hayes
2022-02-02 23:55 ` Bjorn Helgaas
2022-02-02 17:59 ` [RFC PATCH v2 2/3] Add PCIe enclosure management auxiliary driver Stuart Hayes
2022-02-03 0:58 ` Bjorn Helgaas
2022-02-02 17:59 ` [RFC PATCH v2 3/3] Register auxiliary device for PCIe enclosure management Stuart Hayes
2022-02-03 2:39 ` kernel test robot [this message]
2022-02-03 2:39 ` kernel test robot
2022-02-03 5:02 ` kernel test robot
2022-02-03 5:44 ` kernel test robot
2022-02-10 11:52 ` [RFC PATCH v2 0/3] Add PCIe enclosure management support Mariusz Tkaczyk
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=202202031021.1ORRkl1U-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=llvm@lists.linux.dev \
--cc=stuart.w.hayes@gmail.com \
/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.