[arm-platforms:hack/m1-pcie 10/15] drivers/pci/controller/pcie-apple-m1.c:60:45-46: irq_set_affinity: first occurrence line 64, second occurrence line 66 (fwd)
Julia Lawall
julia.lawall at inria.fr
Sun Apr 4 16:27:30 BST 2021
The field .irq_set_affinity is initialized twice, both times to the same
value.
julia
---------- Forwarded message ----------
Date: Sun, 4 Apr 2021 10:34:39 +0800
From: kernel test robot <lkp at intel.com>
To: kbuild at lists.01.org
Cc: lkp at intel.com, Julia Lawall <julia.lawall at lip6.fr>
Subject: [arm-platforms:hack/m1-pcie 10/15]
drivers/pci/controller/pcie-apple-m1.c:60:45-46: irq_set_affinity: first
occurrence line 64, second occurrence line 66
CC: kbuild-all at lists.01.org
CC: linux-arm-kernel at lists.infradead.org
TO: Marc Zyngier <maz at kernel.org>
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
:::::: branch date: 16 hours ago
:::::: commit date: 16 hours ago
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
Reported-by: Julia Lawall <julia.lawall at lip6.fr>
cocci warnings: (new ones prefixed by >>)
>> drivers/pci/controller/pcie-apple-m1.c:60:45-46: irq_set_affinity: first occurrence line 64, second occurrence line 66
vim +60 drivers/pci/controller/pcie-apple-m1.c
4506277b9030202 Marc Zyngier 2021-03-29 59
4506277b9030202 Marc Zyngier 2021-03-29 @60 static struct irq_chip apple_msi_bottom_chip = {
4506277b9030202 Marc Zyngier 2021-03-29 61 .name = "MSI",
4506277b9030202 Marc Zyngier 2021-03-29 62 .irq_mask = irq_chip_mask_parent,
4506277b9030202 Marc Zyngier 2021-03-29 63 .irq_unmask = irq_chip_unmask_parent,
4506277b9030202 Marc Zyngier 2021-03-29 @64 .irq_set_affinity = irq_chip_set_affinity_parent,
4506277b9030202 Marc Zyngier 2021-03-29 65 .irq_eoi = irq_chip_eoi_parent,
4506277b9030202 Marc Zyngier 2021-03-29 @66 .irq_set_affinity = irq_chip_set_affinity_parent,
4506277b9030202 Marc Zyngier 2021-03-29 67 .irq_set_type = irq_chip_set_type_parent,
4506277b9030202 Marc Zyngier 2021-03-29 68 .irq_compose_msi_msg = apple_msi_compose_msg,
4506277b9030202 Marc Zyngier 2021-03-29 69 };
4506277b9030202 Marc Zyngier 2021-03-29 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: 65044 bytes
Desc:
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210404/63fd8fe3/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list