tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 3c00e94c0b2ebe3b80f062ab0a4938789e4df7a8
commit: 3c00e94c0b2ebe3b80f062ab0a4938789e4df7a8 [2/2] CHROMIUM: PCI: Allowlist for
drivers allowed to bind to untrusted devices
config: x86_64-randconfig-a004-20200911 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
0448d11a06b451a63a8f60408fec613ad24801ba)
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 checkout 3c00e94c0b2ebe3b80f062ab0a4938789e4df7a8
# 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(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/pci/drvr-allowlist.c:130:6: warning: no previous
prototype for function 'pci_drv_allowed_for_untrusted_devs' [-Wmissing-prototypes]
bool pci_drv_allowed_for_untrusted_devs(struct device_driver *drv)
^
drivers/pci/drvr-allowlist.c:130:1: note: declare 'static' if the function is
not intended to be used outside of this translation unit
bool pci_drv_allowed_for_untrusted_devs(struct device_driver *drv)
^
static
1 warning generated.
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 3c00e94c0b2ebe3b80f062ab0a4938789e4df7a8
vim +/pci_drv_allowed_for_untrusted_devs +130 drivers/pci/drvr-allowlist.c
129
130 bool pci_drv_allowed_for_untrusted_devs(struct device_driver
*drv)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org