tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4 head: 5d3c2d08737677b0c9fbceb8deb4affc2203d757 commit: 5f94a0c31e951c4196789d4b377d3806ff5bd4d0 [33/67] FROMLIST: mt76: mt7921: introduce PCIe ASPM support (L0s/L1/L1ss) config: powerpc-randconfig-r001-20210618 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d1baf2895467735ab14f4b3415fce204c0cc8e7f) 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 powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-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=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/net/wireless/mediatek/mt76/mt7921/pci.c:6: In file included from include/linux/kernel.h:11: In file included from include/linux/compiler.h:323: arch/powerpc/include/asm/barrier.h:47:9: warning: '__lwsync' macro redefined [-Wmacro-redefined] #define __lwsync() __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory") ^ :308:9: note: previous definition is here #define __lwsync __builtin_ppc_lwsync ^ >> 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 2 warnings 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