[arm-platforms:hack/m1-pcie 10/15] drivers/pci/controller/pcie-apple-m1.c:66:22: warning: initialized field overwritten
kernel test robot
lkp at intel.com
Sat Apr 3 18:44:20 BST 2021
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git hack/m1-pcie
head: 1fd2c9634dd24fba323baba52200de18e4d3f4ee
commit: 4506277b9030202811e5c671330c1ac9b1d3a0b0 [10/15] M1 PCIe hacks
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
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://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=4506277b9030202811e5c671330c1ac9b1d3a0b0
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms hack/m1-pcie
git checkout 4506277b9030202811e5c671330c1ac9b1d3a0b0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/pci/controller/pcie-apple-m1.c:66:22: warning: initialized field overwritten [-Woverride-init]
66 | .irq_set_affinity = irq_chip_set_affinity_parent,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pci/controller/pcie-apple-m1.c:66:22: note: (near initialization for 'apple_msi_bottom_chip.irq_set_affinity')
vim +66 drivers/pci/controller/pcie-apple-m1.c
59
60 static struct irq_chip apple_msi_bottom_chip = {
61 .name = "MSI",
62 .irq_mask = irq_chip_mask_parent,
63 .irq_unmask = irq_chip_unmask_parent,
64 .irq_set_affinity = irq_chip_set_affinity_parent,
65 .irq_eoi = irq_chip_eoi_parent,
> 66 .irq_set_affinity = irq_chip_set_affinity_parent,
67 .irq_set_type = irq_chip_set_type_parent,
68 .irq_compose_msi_msg = apple_msi_compose_msg,
69 };
70
---
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: 67441 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210404/39f440d4/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list