[pci:endpoint-test 16/18] drivers/pci/controller/dwc/pcie-dw-rockchip.c:316:10: error: 'const struct dw_pcie_ep_ops' has no member named 'intx_capable'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Niklas,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git endpoint-test
head:   d87a0e7ac55245a3f75ca5c646ffdf0cfa36e749
commit: da8628c06a7f08cb3402d02040d7a6195949772c [16/18] PCI: dw-rockchip: Endpoint mode cannot raise INTx interrupts
config: csky-randconfig-002-20250311 (https://download.01.org/0day-ci/archive/20250311/202503110203.VT1mN4uk-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250311/202503110203.VT1mN4uk-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503110203.VT1mN4uk-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/pci/controller/dwc/pcie-dw-rockchip.c:316:10: error: 'const struct dw_pcie_ep_ops' has no member named 'intx_capable'
     316 |         .intx_capable = false,
         |          ^~~~~~~~~~~~
   drivers/pci/controller/dwc/pcie-dw-rockchip.c:317:22: warning: initialized field overwritten [-Woverride-init]
     317 |         .raise_irq = rockchip_pcie_raise_irq,
         |                      ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/pci/controller/dwc/pcie-dw-rockchip.c:317:22: note: (near initialization for 'rockchip_pcie_ep_ops.raise_irq')


vim +316 drivers/pci/controller/dwc/pcie-dw-rockchip.c

   313	
   314	static const struct dw_pcie_ep_ops rockchip_pcie_ep_ops = {
   315		.init = rockchip_pcie_ep_init,
 > 316		.intx_capable = false,
   317		.raise_irq = rockchip_pcie_raise_irq,
   318		.get_features = rockchip_pcie_get_features,
   319	};
   320	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux