* drivers/pci/msi/msi.c:646:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
@ 2022-01-22 4:37 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-01-22 4:37 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2463 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Thomas Gleixner <tglx@linutronix.de>
CC: Jason Gunthorpe <jgg@nvidia.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9b57f458985742bd1c585f4c7f36d04634ce1143
commit: 54324c2f3d728f451d9053fcc7859b26fc9cecb4 PCI/MSI: Split out CONFIG_PCI_MSI independent part
date: 6 weeks ago
:::::: branch date: 14 hours ago
:::::: commit date: 6 weeks ago
compiler: powerpc64le-linux-gcc (GCC) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/pci/msi/msi.c:646:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
entries++;
^
vim +646 drivers/pci/msi/msi.c
d9d7070e611765 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 638
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 639 static void msix_update_entries(struct pci_dev *dev, struct msix_entry *entries)
75cb3426878d47 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 640 {
75cb3426878d47 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 641 struct msi_desc *entry;
75cb3426878d47 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 642
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 643 if (entries) {
7112158d97a153 drivers/pci/msi.c Thomas Gleixner 2021-12-06 644 for_each_pci_msi_entry(entry, dev) {
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 645 entries->vector = entry->irq;
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 @646 entries++;
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 647 }
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 648 }
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 649 }
d7cc609fb679e1 drivers/pci/msi.c Logan Gunthorpe 2019-05-23 650
:::::: The code at line 646 was first introduced by commit
:::::: 7d5ec3d3612396dc6d4b76366d20ab9fc06f399f PCI/MSI: Mask all unused MSI-X entries
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* drivers/pci/msi/msi.c:646:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
@ 2022-03-09 3:56 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-03-09 3:56 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2498 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Thomas Gleixner <tglx@linutronix.de>
CC: Jason Gunthorpe <jgg@nvidia.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 92f90cc9fe0e7a984ea3d4bf3d120e30ba8a2118
commit: 54324c2f3d728f451d9053fcc7859b26fc9cecb4 PCI/MSI: Split out CONFIG_PCI_MSI independent part
date: 3 months ago
:::::: branch date: 10 hours ago
:::::: commit date: 3 months ago
compiler: powerpc64-linux-gcc (GCC) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/pci/msi/msi.c:646:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
entries++;
^
vim +646 drivers/pci/msi/msi.c
d9d7070e6117651 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 638
7d5ec3d3612396d drivers/pci/msi.c Thomas Gleixner 2021-07-29 639 static void msix_update_entries(struct pci_dev *dev, struct msix_entry *entries)
75cb3426878d479 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 640 {
75cb3426878d479 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 641 struct msi_desc *entry;
75cb3426878d479 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 642
7d5ec3d3612396d drivers/pci/msi.c Thomas Gleixner 2021-07-29 643 if (entries) {
7112158d97a1539 drivers/pci/msi.c Thomas Gleixner 2021-12-06 644 for_each_pci_msi_entry(entry, dev) {
7d5ec3d3612396d drivers/pci/msi.c Thomas Gleixner 2021-07-29 645 entries->vector = entry->irq;
7d5ec3d3612396d drivers/pci/msi.c Thomas Gleixner 2021-07-29 @646 entries++;
7d5ec3d3612396d drivers/pci/msi.c Thomas Gleixner 2021-07-29 647 }
7d5ec3d3612396d drivers/pci/msi.c Thomas Gleixner 2021-07-29 648 }
7d5ec3d3612396d drivers/pci/msi.c Thomas Gleixner 2021-07-29 649 }
d7cc609fb679e11 drivers/pci/msi.c Logan Gunthorpe 2019-05-23 650
:::::: The code at line 646 was first introduced by commit
:::::: 7d5ec3d3612396dc6d4b76366d20ab9fc06f399f PCI/MSI: Mask all unused MSI-X entries
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* drivers/pci/msi/msi.c:646:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
@ 2022-02-14 13:25 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-02-14 13:25 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2458 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Thomas Gleixner <tglx@linutronix.de>
CC: Jason Gunthorpe <jgg@nvidia.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 754e0b0e35608ed5206d6a67a791563c631cec07
commit: 54324c2f3d728f451d9053fcc7859b26fc9cecb4 PCI/MSI: Split out CONFIG_PCI_MSI independent part
date: 10 weeks ago
:::::: branch date: 17 hours ago
:::::: commit date: 10 weeks ago
compiler: s390-linux-gcc (GCC) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/pci/msi/msi.c:646:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
entries++;
^
vim +646 drivers/pci/msi/msi.c
d9d7070e611765 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 638
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 639 static void msix_update_entries(struct pci_dev *dev, struct msix_entry *entries)
75cb3426878d47 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 640 {
75cb3426878d47 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 641 struct msi_desc *entry;
75cb3426878d47 drivers/pci/msi.c Hidetoshi Seto 2009-08-06 642
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 643 if (entries) {
7112158d97a153 drivers/pci/msi.c Thomas Gleixner 2021-12-06 644 for_each_pci_msi_entry(entry, dev) {
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 645 entries->vector = entry->irq;
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 @646 entries++;
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 647 }
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 648 }
7d5ec3d3612396 drivers/pci/msi.c Thomas Gleixner 2021-07-29 649 }
d7cc609fb679e1 drivers/pci/msi.c Logan Gunthorpe 2019-05-23 650
:::::: The code at line 646 was first introduced by commit
:::::: 7d5ec3d3612396dc6d4b76366d20ab9fc06f399f PCI/MSI: Mask all unused MSI-X entries
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-09 3:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 4:37 drivers/pci/msi/msi.c:646:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] kernel test robot
2022-02-14 13:25 kernel test robot
2022-03-09 3:56 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.