Hi Frank,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on helgaas-pci/next]
[also build test WARNING on jonmason-ntb/ntb-next v5.17-rc4 next-20220215]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Frank-Li/NTB-function-for-PCIe-R...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-allyesconfig
(
https://download.01.org/0day-ci/archive/20220216/202202161525.BBBVV79O-lk...)
compiler: clang version 15.0.0 (
https://github.com/llvm/llvm-project
0e628a783b935c70c80815db6c061ec84f884af5)
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
#
https://github.com/0day-ci/linux/commit/84bf6254010435435a8c196e30bb2d25f...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Frank-Li/NTB-function-for-PCIe-RC-to-EP-connection/20220215-134115
git checkout 84bf6254010435435a8c196e30bb2d25fd22763c
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/i915/gvt/ drivers/media/i2c/
drivers/pci/endpoint/functions/ kernel/bpf/
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/endpoint/functions/pci-epf-vntb.c:975:5: warning: no
previous prototype for function 'pci_read' [-Wmissing-prototypes]
int
pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val)
^
drivers/pci/endpoint/functions/pci-epf-vntb.c:975:1: note: declare 'static' if
the function is not intended to be used outside of this translation unit
int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val)
^
static
> drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: no
previous prototype for function 'pci_write' [-Wmissing-prototypes]
int
pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val)
^
drivers/pci/endpoint/functions/pci-epf-vntb.c:984:1: note: declare 'static' if
the function is not intended to be used outside of this translation unit
int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val)
^
static
2 warnings generated.
vim +/pci_read +975 drivers/pci/endpoint/functions/pci-epf-vntb.c
974
975 int pci_read(struct pci_bus *bus, unsigned int devfn, int where,
int size, u32 *val)
976 {
977 if (devfn == 0) {
978 memcpy(val, ((uint8_t *)pci_space) + where, size);
979 return 0;
980 }
981 return -1;
982 }
983
984 int pci_write(struct pci_bus *bus, unsigned int devfn, int where,
int size, u32 val)
985 {
986 return 0;
987 }
988
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org