Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@inria.fr>
To: Marc Zyngier <maz@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, kbuild-all@lists.01.org
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 (fwd)
Date: Sun, 4 Apr 2021 17:27:30 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2104041726390.2958@hadrien> (raw)

[-- 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

                 reply	other threads:[~2021-04-04 15:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.22.394.2104041726390.2958@hadrien \
    --to=julia.lawall@inria.fr \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maz@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox