From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 878707E for ; Sat, 16 Apr 2022 08:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650096898; x=1681632898; h=date:from:to:cc:subject:message-id:mime-version; bh=jxT27LaRFB+VIouMNBnne8LOHkM4l4qELkyspOGsRPc=; b=EjEbDJik8Mp4llrk/i+Ga2AhBlTcFCKU62RPMmTg6RabMFmqIo/Qzzqd bs+bStrPartSgAr3qtb9KEYaqEJBnuiggPjewiFcLt4YCgszl7QkIm02B dFtw090AlZf48enP0jeHcJKrt1kouOFFSsJytrIV0ev/P/y8QgMaIrOiY WT1fHmw0rcOT/ZhTGWiEYbHGgqj/LlUulId+ZfRT4t+nrIJMxDOZ/uvHF ar7IMcbjpa2qIW8qk3XzVdbEm/U66gYtOimCVHCrG/FZcR89IvZinJGAB 89bfwLIrhAVDAoxxO2BBndfz6K8tVYD/AwK9NSSJo704U24y4TnHmIXW3 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10318"; a="260875343" X-IronPort-AV: E=Sophos;i="5.90,264,1643702400"; d="scan'208";a="260875343" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2022 01:14:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,264,1643702400"; d="scan'208";a="613053503" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 16 Apr 2022 01:14:55 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nfda2-0002wL-TA; Sat, 16 Apr 2022 08:14:54 +0000 Date: Sat, 16 Apr 2022 16:14:09 +0800 From: kernel test robot To: Zhi Wang Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, zhenyu.z.wang@intel.com, terrence.xu@intel.com, intel-gvt-dev@lists.freedesktop.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Zhenyu Wang Subject: [intel-gvt:topic/for-christoph 1/37] drivers/gpu/drm/i915/intel_gvt.h:69:5: error: no previous prototype for function 'intel_gvt_iterate_mmio_table' Message-ID: <202204161634.p6DDJoeT-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) tree: https://github.com/intel/gvt-linux.git topic/for-christoph head: fd6f410fe5eced449a4d6467a4f4789a8eb10382 commit: 07de96038f7d8a179287ae178dfcad8f085abb9e [1/37] i915/gvt: Separate the MMIO tracking table from GVT-g config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220416/202204161634.p6DDJoeT-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 64c045e25b8471bbb572bd29159c294a82a86a25) 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/intel/gvt-linux/commit/07de96038f7d8a179287ae178dfcad8f085abb9e git remote add intel-gvt https://github.com/intel/gvt-linux.git git fetch --no-tags intel-gvt topic/for-christoph git checkout 07de96038f7d8a179287ae178dfcad8f085abb9e # 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=i386 SHELL=/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from :4: In file included from drivers/gpu/drm/i915/gvt/gvt.h:39: >> drivers/gpu/drm/i915/intel_gvt.h:69:5: error: no previous prototype for function 'intel_gvt_iterate_mmio_table' [-Werror,-Wmissing-prototypes] int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) ^ drivers/gpu/drm/i915/intel_gvt.h:69:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) ^ static 1 error generated. vim +/intel_gvt_iterate_mmio_table +69 drivers/gpu/drm/i915/intel_gvt.h 68 > 69 int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) 70 { 71 return 0; 72 } 73 #endif 74 -- 0-DAY CI Kernel Test Service https://01.org/lkp