All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Sun, 20 Jun 2021 09:19:31 +0800	[thread overview]
Message-ID: <202106200929.LUc2FVW2-lkp@intel.com> (raw)

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

                 reply	other threads:[~2021-06-20  1:19 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=202106200929.LUc2FVW2-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.