All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org, yangxiangkai <yangxiangkai@huawei.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:OLK-6.6 2909/2909] include/../drivers/pci/msi/msi.h:113:57: warning: declaration of 'struct msix_entry' will not be visible outside of this function
Date: Tue, 23 Sep 2025 21:53:15 +0800	[thread overview]
Message-ID: <202509232154.ZKw00IX1-lkp@intel.com> (raw)

Hi yangxiangkai,

FYI, the error/warning still remains.

tree:   https://gitee.com/openeuler/kernel.git OLK-6.6
head:   f188c8019eb561258fec0741574f196e013c7fa6
commit: ad540a13eb8292fc92651b3bf281088a502a85f9 [2909/2909] virtcca feature: fix msi iova map
config: arm64-randconfig-r121-20250923 (https://download.01.org/0day-ci/archive/20250923/202509232154.ZKw00IX1-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250923/202509232154.ZKw00IX1-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509232154.ZKw00IX1-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/coda/coda_pci.c:8:
>> include/../drivers/pci/msi/msi.h:113:57: warning: declaration of 'struct msix_entry' will not be visible outside of this function [-Wvisibility]
   int __pci_enable_msix_range(struct pci_dev *dev, struct msix_entry *entries, int minvec,
                                                           ^
   1 warning generated.


vim +113 include/../drivers/pci/msi/msi.h

897a0b6aa8c7ee Ahmed S. Darwish 2022-11-11  107  
b12d0bec385b7a Ahmed S. Darwish 2022-11-11  108  /* MSI internal functions invoked from the public APIs */
b12d0bec385b7a Ahmed S. Darwish 2022-11-11  109  void pci_msi_shutdown(struct pci_dev *dev);
18e1926b8c8b7c Ahmed S. Darwish 2022-11-11  110  void pci_msix_shutdown(struct pci_dev *dev);
b12d0bec385b7a Ahmed S. Darwish 2022-11-11  111  void pci_free_msi_irqs(struct pci_dev *dev);
bbda3407982211 Ahmed S. Darwish 2022-11-11  112  int __pci_enable_msi_range(struct pci_dev *dev, int minvec, int maxvec, struct irq_affinity *affd);
be7496c1ef47e1 Ahmed S. Darwish 2022-11-11 @113  int __pci_enable_msix_range(struct pci_dev *dev, struct msix_entry *entries, int minvec,
be7496c1ef47e1 Ahmed S. Darwish 2022-11-11  114  			    int maxvec,  struct irq_affinity *affd, int flags);
57127da98bc876 Ahmed S. Darwish 2022-11-11  115  void __pci_restore_msi_state(struct pci_dev *dev);
57127da98bc876 Ahmed S. Darwish 2022-11-11  116  void __pci_restore_msix_state(struct pci_dev *dev);
b12d0bec385b7a Ahmed S. Darwish 2022-11-11  117  

:::::: The code at line 113 was first introduced by commit
:::::: be7496c1ef47e1ba8c4b389ee23178fcf066cc4e PCI/MSI: Move pci_enable_msix_range() to api.c

:::::: TO: Ahmed S. Darwish <darwi@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-09-23 13:54 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=202509232154.ZKw00IX1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kernel@openeuler.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=yangxiangkai@huawei.com \
    /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 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.