All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.4 2/2] drivers/pci/drvr-allowlist.c:130:6: warning: no previous prototype for function 'pci_drv_allowed_for_untrusted_devs'
@ 2020-09-11  7:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-11  7:14 UTC (permalink / raw)
  To: kbuild-all

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

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@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(a)lists.01.org

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

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

only message in thread, other threads:[~2020-09-11  7:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11  7:14 [chrome-os:chromeos-5.4 2/2] drivers/pci/drvr-allowlist.c:130:6: warning: no previous prototype for function 'pci_drv_allowed_for_untrusted_devs' 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.