All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.4 33/69] drivers/net/wireless/mediatek/mt76/mt7921/pci.c:151:6: warning: no previous prototype for function 'mt7921_pci_enable_aspm'
@ 2021-06-20  1:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-20  1:19 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2154 bytes --]

Hi Deren,

FYI, the error/warning still remains.

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head:   35c5b82640fd5f825e85c5cc6d8f6101c24d817f
commit: 5f94a0c31e951c4196789d4b377d3806ff5bd4d0 [33/69] FROMLIST: mt76: mt7921: introduce PCIe ASPM support (L0s/L1/L1ss)
config: x86_64-randconfig-a006-20210620 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e1adf90826a57b674eee79b071fb46c1f5683cd0)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.4
        git checkout 5f94a0c31e951c4196789d4b377d3806ff5bd4d0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/mediatek/mt76/mt7921/pci.c:151:6: warning: no previous prototype for function 'mt7921_pci_enable_aspm' [-Wmissing-prototypes]
   void mt7921_pci_enable_aspm(struct pci_dev *pdev)
        ^
   drivers/net/wireless/mediatek/mt76/mt7921/pci.c:151:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void mt7921_pci_enable_aspm(struct pci_dev *pdev)
   ^
   static 
   1 warning generated.


vim +/mt7921_pci_enable_aspm +151 drivers/net/wireless/mediatek/mt76/mt7921/pci.c

   150	
 > 151	void mt7921_pci_enable_aspm(struct pci_dev *pdev)
   152	{
   153		mt7921_pci_config_L1ss(pdev, true);
   154		mt7921_pci_config_L1(pdev, true);
   155	}
   156	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 43034 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-20  1:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-20  1:19 [chrome-os:chromeos-5.4 33/69] drivers/net/wireless/mediatek/mt76/mt7921/pci.c:151:6: warning: no previous prototype for function 'mt7921_pci_enable_aspm' 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.