Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2881052pxb; Mon, 4 Apr 2022 01:17:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys2MjQDgnsuLX4/ddpqtP7iyuoVJR6KPYFLwnTbF23bb5yKLiDkdPMUMTEX2DW4QCACwJy X-Received: by 2002:a17:907:6e88:b0:6da:8f01:7a8f with SMTP id sh8-20020a1709076e8800b006da8f017a8fmr9831233ejc.619.1649060243684; Mon, 04 Apr 2022 01:17:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649060243; cv=none; d=google.com; s=arc-20160816; b=W9p+4W2N53mjasOgDw0j2LiwhEC0G2qTjEXMIR6zizpXGoGWe4J8rgjNHwUMHat//s Syo2RYmQgwzNOhOA5RTaytdWmq48wZYjRJfAqy+LEjw2PMEdIQlMPmFHk8fnUPqh3475 SIT91hnslHqqXflmA2eHsqfsA/wvsbnY/0TrzRr7Tea5oHKJRX6sp9D42fQecCBHtj13 4d3t9PdeHfviDN69CrDjgwjmHQi+tX1SO9Hx07nG38wtPAYFTyp5yJpC+RZkuDL4lQOC WIVd/mNqZOr5h30WMlGew4vzC+9RjNOT9mdn5IANNrXLdyHfasevoV2lwRUvAifaS4yR +sqg== 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=4NWOrqu9Gf232DMZmKOzwlr21ASqr5/hZLixy0BHvxM=; b=On4JApg3s5VmON3EemlORoMh55cajPnGCByJTvGre9LhnnFOinLctoT9HhCPDXibKS 0xv8LWR6w9VSAdmAuvKGM5WCUZWTVPVyJvnHygXR9yn/SSw8L18E+BBxA9LSwxhk3mHS oozztVqU9iSOtvLqPM34jKBu1jslsgR5y5t87iuRy2aNex0xUziS/77yfberCxFBdYLs GhRLPKVqRz3FWkl/N8VCIVDRQvPGxVvBM89cNlf6rYMp9cAI6geBT3tyqx7LCdJ/shDB T5mF0yvNyKnqxf9dVHYQtadeVanR/NC6yYhqnAraNPknVNYp6GqgS9EQEYT4+bC35Rwj teUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UmdBlHSX; 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 q9-20020a170906b28900b006df76385cafsi5682124ejz.335.2022.04.04.01.16.59; Mon, 04 Apr 2022 01:17:23 -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=UmdBlHSX; 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 S239127AbiDBIOo (ORCPT + 99 others); Sat, 2 Apr 2022 04:14:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229948AbiDBIOn (ORCPT ); Sat, 2 Apr 2022 04:14:43 -0400 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D923EE4E0 for ; Sat, 2 Apr 2022 01:12: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=1648887172; x=1680423172; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9nakgVIZsBk8MoVNmlFRigUOZ3RgRXBKut7mIr/t7TY=; b=UmdBlHSXLywanxXZGhndjREEbUeh44fuifCGuWGnNeIbzCC8WBlE/s7B yiE1ttg0WaMScngGXKCKzSm6lJbWw38+MXTTqVr5f2jvoJeyxLF097hkf NKOpoG4liaI81IoXJGN0fXu3b+M/Oxo+1lX18MybYfo6hMJOo/59XKTBX Mky1ygwyiH7X8pb8I2kHfENK2J7tY3xiZay6CSWoUNq6gMzveQg7xWxe5 UuPJwSsa3B0yRiYrfxTaZfUcaXDxg5pdSjmbH6JtMZ47KXu6BdOq4ZBBl FWahyfUVVc5GBqk1m/uTb0y+e4lpfFSURkYI7vbwHpE3dwCqL7oEoF7Mm w==; X-IronPort-AV: E=McAfee;i="6200,9189,10304"; a="320986053" X-IronPort-AV: E=Sophos;i="5.90,229,1643702400"; d="scan'208";a="320986053" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2022 01:12:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,229,1643702400"; d="scan'208";a="504416562" Received: from lkp-server02.sh.intel.com (HELO 3231c491b0e2) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 02 Apr 2022 01:12:49 -0700 Received: from kbuild by 3231c491b0e2 with local (Exim 4.95) (envelope-from ) id 1naYsK-00024e-A7; Sat, 02 Apr 2022 08:12:48 +0000 Date: Sat, 2 Apr 2022 16:12:36 +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: <202204021603.W9Au0C65-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=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, 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: x86_64-randconfig-c002 (https://download.01.org/0day-ci/archive/20220402/202204021603.W9Au0C65-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=x86_64 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/gvt/mpt.h:36, 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/mpt.h:36, 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/gvt/mpt.h:36, 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 vim +74 drivers/gpu/drm/i915/gvt/mmio.h 12d14cc43b34706 Zhi Wang 2016-08-30 71 8fde41076f6df53 Chris Wilson 2020-03-04 72 const struct intel_engine_cs * 8fde41076f6df53 Chris Wilson 2020-03-04 73 intel_gvt_render_mmio_to_engine(struct intel_gvt *gvt, unsigned int reg); 12d14cc43b34706 Zhi Wang 2016-08-30 @74 unsigned long intel_gvt_get_device_type(struct intel_gvt *gvt); 12d14cc43b34706 Zhi Wang 2016-08-30 75 -- 0-DAY CI Kernel Test Service https://01.org/lkp