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-s022-20200909 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-191-g10164920-dirty
git checkout 3c00e94c0b2ebe3b80f062ab0a4938789e4df7a8
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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 'pci_drv_allowed_for_untrusted_devs' [-Wmissing-prototypes]
130 | bool pci_drv_allowed_for_untrusted_devs(struct device_driver *drv)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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