Content-Type: multipart/mixed; boundary="===============6837759940455398778==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH 3/4] NTB: EPF: support NTB transfer between PCI RC and EP connection Date: Wed, 16 Feb 2022 15:13:26 +0800 Message-ID: <202202161525.BBBVV79O-lkp@intel.com> In-Reply-To: <20220215053844.7119-4-Frank.Li@nxp.com> List-Id: --===============6837759940455398778== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-RC-to-EP-connection/20220215-134115 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/202202= 16/202202161525.BBBVV79O-lkp(a)intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0e628a= 783b935c70c80815db6c061ec84f884af5) reproduce (this is a W=3D1 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/84bf6254010435435a8c196e3= 0bb2d25fd22763c 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=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/gpu/drm/i915/gvt/ d= rivers/media/i2c/ drivers/pci/endpoint/functions/ kernel/bpf/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: no previou= s prototype for function 'pci_read' [-Wmissing-prototypes] int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int siz= e, u32 *val) ^ drivers/pci/endpoint/functions/pci-epf-vntb.c:975:1: note: declare 'stat= ic' 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 siz= e, u32 *val) ^ static = >> drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: no previou= s prototype for function 'pci_write' [-Wmissing-prototypes] int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int si= ze, u32 val) ^ drivers/pci/endpoint/functions/pci-epf-vntb.c:984:1: note: declare 'stat= ic' 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 si= ze, 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 =3D=3D 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, in= t 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(a)lists.01.org --===============6837759940455398778==--