CC: [email protected]
CC: [email protected]
TO: Thomas Gleixner <[email protected]>
CC: Jason Gunthorpe <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>

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 <[email protected]>


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 <[email protected]>
:::::: CC: Thomas Gleixner <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to