Content-Type: multipart/mixed; boundary="===============7246558854760676152==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 1/2] i915/gvt: Introduce the mmio_info_table.c to support VFIO new mdev API Date: Sat, 27 Nov 2021 06:37:05 +0800 Message-ID: <202111270654.IbLd57DI-lkp@intel.com> In-Reply-To: <20211126114623.88739-1-zhi.a.wang@intel.com> List-Id: --===============7246558854760676152== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Zhi, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on drm-tip/drm-tip drm/drm-next tegra-drm/drm/tegr= a/for-next v5.16-rc2 next-20211126] [cannot apply to airlied/drm-next] [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/Zhi-Wang/i915-gvt-Introduc= e-the-mmio_info_table-c-to-support-VFIO-new-mdev-API/20211126-194800 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20211127/2= 02111270654.IbLd57DI-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/82dadc38be63d9271031336db= 366cd71104df3a0 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Zhi-Wang/i915-gvt-Introduce-the-mm= io_info_table-c-to-support-VFIO-new-mdev-API/20211126-194800 git checkout 82dadc38be63d9271031336db366cd71104df3a0 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/gp= u/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/i915/gvt/mmio_info_table.c:1414: warning: expecting prot= otype for intel_gvt_setup_mmio_table(). Prototype was for intel_gvt_setup_m= mio_info() instead vim +1414 drivers/gpu/drm/i915/gvt/mmio_info_table.c 1402 = 1403 /** 1404 * intel_gvt_setup_mmio_table - setup MMIO information table for GVT= device 1405 * @gvt: GVT device 1406 * 1407 * This function is called at the initialization stage, to setup the= MMIO 1408 * information table for GVT device 1409 * 1410 * Returns: 1411 * zero on success, negative if failed. 1412 */ 1413 int intel_gvt_setup_mmio_info(struct intel_gvt *gvt) > 1414 { --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7246558854760676152==--