Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2779810pxb; Sun, 3 Apr 2022 21:02:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMbr028VKpQBaAtQcC2QL5XtUTYKqtuIA5h7dOY1u441Kjrhynjq1LBSIZ4XA6TQj/94zL X-Received: by 2002:a17:906:19c6:b0:6ce:98a4:5ee6 with SMTP id h6-20020a17090619c600b006ce98a45ee6mr8994592ejd.567.1649044968797; Sun, 03 Apr 2022 21:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649044968; cv=none; d=google.com; s=arc-20160816; b=KiiItnJw9zkP6O6SUUoNSw/mc8dtsDzErRKPwSvQYAU12mDkSGgRVl1yOnHPPXift+ vudNsrmmoxQVFoI2zk4jwFmX9ZNBVTpLVtPr+MZAYXKIuVQP+Pm+Qj9n6k/cnVU9csBY AVFb7oVI6SNgB/eMB/tjsQqCF88VYJSKVQdGTEulClO01g+K1v50aBAE45T7zpqji/lk mHYqyFjQZ21CDvX0Tssleqvs59gnGtA/B66uHh/8iTzDc/vw5wKQu2cXZSzeMj5lf8FN RYuAlzhTmYGcck6FeoNkwb9VkfskP5bMSVsp807PLHynoMqWeUeIKxyKFLZ+j4mRRxle M4mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8FL+hbWkS4/PTmSYp4XgCzvr/f7SyWOxzHcYIALd3dQ=; b=ZTSBcLHAYZ5/ZSmCUslABzzB1U3cAZW+f8mEoLEX1Mlpea4LVU/7XouIvw5xfDsRgx q/td/nmB84uiXW2TNptaNApFN7SE7WyuOazd3RUmfhVUDxLEEEq025vctNj4iK/ow9pm 33usqjP0eiVGF4Cg45/p4TadyG8VmpuY9BAsF6wtqimg4mfOFs/3t9qjoOTCXnGJb+Fv lzWbJFUi1kMjnzX7tR5KuY/ZDC2LiqDHKuWDX+GyWGyeWCXavYmjpRmhuf8C3VoI75Az BqaFfJly8eJDvZU/oe8sn8v7F8JidpL9dlSAc2vT0mNGHQmgwJfUP2gzwNQNsnCPsHuy 07mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dEbd3eFz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t22-20020a1709064f1600b006df76385cd1si5776678eju.369.2022.04.03.21.02.23; Sun, 03 Apr 2022 21:02:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dEbd3eFz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354850AbiDBNBq (ORCPT + 99 others); Sat, 2 Apr 2022 09:01:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354841AbiDBNBo (ORCPT ); Sat, 2 Apr 2022 09:01:44 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B017913F1D for ; Sat, 2 Apr 2022 05:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648904392; x=1680440392; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=JKHZCq1zZpc8Ag4MijnRimmNpi//wqM7iuPsc5qyXqQ=; b=dEbd3eFzinOgMKPNB+iHgyv5xiiN8dTnNJ9tivSwtI6GQErFUXT1/cLo jrD2YB1AQPK+YWcHyHkpDtgfx35R/MCPErO04uY3u3fa56JDOo2oCdfle 7+OOfSyaN94Mye4u2I5NUXVXqoYdS9D8RkosNbQbUJhP+mbFp0qQ8U+Id dVbAHABDyw+L/U9yjdeAw5zjepzFE+i0qAOKuRFuicCtkJ74NPbKBfSpQ w/PUzETSsV382uZH4AUjR0E6eRUoC4J0DJOgM6xI951/p9UDud3YggfK/ TJOB9gOC/y3yQLCoDH6IEyxQM/+5F9Dv8cZP1Yv3FmnzM2QcBeNFvc2YI w==; X-IronPort-AV: E=McAfee;i="6200,9189,10304"; a="257881482" X-IronPort-AV: E=Sophos;i="5.90,230,1643702400"; d="scan'208";a="257881482" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2022 05:59:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,230,1643702400"; d="scan'208";a="504453130" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 02 Apr 2022 05:59:49 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1nadM4-00009Z-UU; Sat, 02 Apr 2022 12:59:48 +0000 Date: Sat, 2 Apr 2022 20:58:47 +0800 From: kernel test robot To: Zhi Wang , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org Cc: kbuild-all@lists.01.org, Zhi Wang , Jason Gunthorpe , Vivi Rodrigo , Christoph Hellwig Subject: Re: [PATCH v8 1/3] i915/gvt: Separate the MMIO tracking table from GVT-g Message-ID: <202204022008.nct9WUkc-lkp@intel.com> References: <20220401130207.33944-2-zhi.a.wang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220401130207.33944-2-zhi.a.wang@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Zhi, I love your patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on drm-tip/drm-tip drm/drm-next next-20220401] [cannot apply to tegra-drm/drm/tegra/for-next airlied/drm-next v5.17] [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/intel-lab-lkp/linux/commits/Zhi-Wang/Refactor-GVT-g-MMIO-tracking-table-and-handlers/20220401-210319 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: i386-defconfig (https://download.01.org/0day-ci/archive/20220402/202204022008.nct9WUkc-lkp@intel.com/config) compiler: gcc-11 (Debian 11.2.0-19) 11.2.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/eeae6480610a35a271461e864f84540d6849d8d6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Zhi-Wang/Refactor-GVT-g-MMIO-tracking-table-and-handlers/20220401-210319 git checkout eeae6480610a35a271461e864f84540d6849d8d6 # save the config file to linux build tree mkdir build_dir make 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 drivers/gpu/drm/i915/gvt/gvt.h:39, from : >> drivers/gpu/drm/i915/intel_gvt.h:66:15: error: no previous prototype for 'intel_gvt_get_device_type' [-Werror=missing-prototypes] 66 | unsigned long intel_gvt_get_device_type(struct drm_i915_private *i915) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/intel_gvt.h:71:41: error: 'struct intel_gvt_mmio_table_iter' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 71 | int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/i915/intel_gvt.h:71:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table' [-Werror=missing-prototypes] 71 | int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/i915/gvt/gvt.h:43, from : drivers/gpu/drm/i915/gvt/mmio.h:74:15: error: conflicting types for 'intel_gvt_get_device_type'; have 'long unsigned int(struct intel_gvt *)' 74 | unsigned long intel_gvt_get_device_type(struct intel_gvt *gvt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/i915/gvt/gvt.h:39, from : drivers/gpu/drm/i915/intel_gvt.h:66:15: note: previous definition of 'intel_gvt_get_device_type' with type 'long unsigned int(struct drm_i915_private *)' 66 | unsigned long intel_gvt_get_device_type(struct drm_i915_private *i915) | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- In file included from : >> drivers/gpu/drm/i915/intel_gvt.h:66:15: error: no previous prototype for 'intel_gvt_get_device_type' [-Werror=missing-prototypes] 66 | unsigned long intel_gvt_get_device_type(struct drm_i915_private *i915) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/intel_gvt.h:71:41: error: 'struct intel_gvt_mmio_table_iter' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 71 | int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/i915/intel_gvt.h:71:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table' [-Werror=missing-prototypes] 71 | int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/intel_gvt_get_device_type +66 drivers/gpu/drm/i915/intel_gvt.h 65 > 66 unsigned long intel_gvt_get_device_type(struct drm_i915_private *i915) 67 { 68 return 0; 69 } 70 > 71 int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) 72 { 73 return 0; 74 } 75 #endif 76 -- 0-DAY CI Kernel Test Service https://01.org/lkp