Skip to contentSkip to conversation

drivers/pci/controller/pcie-apple-m1.c:60:45-46: irq_set_affinity: first occurrence line 64, second occurrence line 66 (fwd)

PATCH New Julia Lawall 1 participant 1 message Apr 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 10/15 drivers/pci/controller/pcie-apple-m1.c:60:45-46: irq_set_affinity: first occurrence line 64, second occurrence line 66 (fwd)

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 <[email protected]>
To: kbuild(a)lists.01.org
Cc: lkp(a)intel.com, Julia Lawall <[email protected]>
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(a)lists.01.org
CC: linux-arm-kernel(a)lists.infradead.org
TO: Marc Zyngier <[email protected]>

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

cocci warnings: (new ones prefixed by >>)

Quoted 1 line
Quoted 1 line

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(a)lists.01.org