[arm-platforms:irq/domain_cleanup 30/32] drivers/pci/controller/pcie-xilinx-cpm.c:225:51: error: expected ')'
kernel test robot
lkp at intel.com
Mon May 17 05:17:28 PDT 2021
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head: 3aadfc1b915f97f186b3a94cacc82b9504e68223
commit: 51c378bd84120c03c6845ed75fc3a073b0d1f203 [30/32] PCI: Bulk conversion to generic_handle_domain_irq()
config: powerpc64-randconfig-r035-20210517 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 0a34ff8bcb1df16fe7d643ccbe4567b2162c5024)
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 powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=51c378bd84120c03c6845ed75fc3a073b0d1f203
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/domain_cleanup
git checkout 51c378bd84120c03c6845ed75fc3a073b0d1f203
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
drivers/pci/controller/pcie-xilinx-cpm.c:225:36: warning: expression result unused [-Wunused-value]
generic_handle_domain_irq((port->intx_domain, i);
~~~~ ^~~~~~~~~~~
>> drivers/pci/controller/pcie-xilinx-cpm.c:225:51: error: expected ')'
generic_handle_domain_irq((port->intx_domain, i);
^
drivers/pci/controller/pcie-xilinx-cpm.c:225:28: note: to match this '('
generic_handle_domain_irq((port->intx_domain, i);
^
1 warning and 1 error generated.
vim +225 drivers/pci/controller/pcie-xilinx-cpm.c
211
212 static void xilinx_cpm_pcie_intx_flow(struct irq_desc *desc)
213 {
214 struct xilinx_cpm_pcie_port *port = irq_desc_get_handler_data(desc);
215 struct irq_chip *chip = irq_desc_get_chip(desc);
216 unsigned long val;
217 int i;
218
219 chained_irq_enter(chip, desc);
220
221 val = FIELD_GET(XILINX_CPM_PCIE_IDRN_MASK,
222 pcie_read(port, XILINX_CPM_PCIE_REG_IDRN));
223
224 for_each_set_bit(i, &val, PCI_NUM_INTX)
> 225 generic_handle_domain_irq((port->intx_domain, i);
226
227 chained_irq_exit(chip, desc);
228 }
229
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 45055 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210517/36d660bc/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list