Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [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)
@ 2021-04-04 15:27 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2021-04-04 15:27 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: linux-arm-kernel, kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2324 bytes --]

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@intel.com>
To: kbuild@lists.01.org
Cc: lkp@intel.com, Julia Lawall <julia.lawall@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@lists.01.org
CC: linux-arm-kernel@lists.infradead.org
TO: Marc Zyngier <maz@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@intel.com>
Reported-by: Julia Lawall <julia.lawall@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

[-- Attachment #2: Type: application/gzip, Size: 65044 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-04 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04 15:27 [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox