CC: [email protected]
TO: Sasha Levin <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git 
pending-5.10
head:   3b1d600f362c132644c723e5361bddbb28d2b958
commit: af6fd39080dc3a0ce40d47997abd7ddba2a16b02 [80/96] PCI/MSI: Mask all 
unused MSI-X entries
:::::: branch date: 24 hours ago
:::::: commit date: 24 hours ago
compiler: ia64-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.c:755:4: warning: Assignment of function parameter has no 
>> effect outside the function. Did you forget dereferencing it? 
>> [uselessAssignmentPtrArg]
      entries++;
      ^

vim +755 drivers/pci/msi.c

d9d7070e611765 Hidetoshi Seto  2009-08-06  747  
af6fd39080dc3a Thomas Gleixner 2021-07-29  748  static void 
msix_update_entries(struct pci_dev *dev, struct msix_entry *entries)
75cb3426878d47 Hidetoshi Seto  2009-08-06  749  {
75cb3426878d47 Hidetoshi Seto  2009-08-06  750          struct msi_desc *entry;
75cb3426878d47 Hidetoshi Seto  2009-08-06  751  
5004e98a91e8ad Jiang Liu       2015-07-09  752          
for_each_pci_msi_entry(entry, dev) {
af6fd39080dc3a Thomas Gleixner 2021-07-29  753                  if (entries) {
af6fd39080dc3a Thomas Gleixner 2021-07-29  754                          
entries->vector = entry->irq;
af6fd39080dc3a Thomas Gleixner 2021-07-29 @755                          
entries++;
af6fd39080dc3a Thomas Gleixner 2021-07-29  756                  }
af6fd39080dc3a Thomas Gleixner 2021-07-29  757          }
af6fd39080dc3a Thomas Gleixner 2021-07-29  758  }
d7cc609fb679e1 Logan Gunthorpe 2019-05-23  759  

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