Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1726686pxb; Wed, 9 Feb 2022 03:13:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+3zka9JA9kAJ+9/CYYCLaREGIecZ6dJnR59ci7ZxrKJDK2p8Edfbv+2ZsA+VRqBE083/k X-Received: by 2002:a17:907:a40a:: with SMTP id sg10mr1562130ejc.44.1644405238972; Wed, 09 Feb 2022 03:13:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644405238; cv=none; d=google.com; s=arc-20160816; b=0Unw+jhu96GHaFlKWUkfGRKj0Ci95VAmyz001eEepAXOQ/hvbmGB1H7sHFcib+5aVi NbDA7aX8Jpwhef5MytFttNDZhiqqmArG0n85iqLZP0EJds0jm9ArGkgU4/DtIv0rsxyJ lG/1XtGtbgG9VF/kEVUztpDbKy2aImqDdcAQn4vi0Ir184DmEnxJkSQ9L4HGkesoqiwZ LTkZ+vcM0BXiwrPZpoXZPFcVwn25mTDBwasqrr0KMN6yPGsasmobgfIFn9w1txkKDUl5 ggAALj7a/gSuTQeEEYpJv6HIYLUp5/VSpD0cLwfzOCpQ8hUiLs+FPxlk/sh+OeA2Fukh Il+A== 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=CUjOI7lS+4eiUHGzKMvduJ70JvMfFVZbuL7BOPjNEOM=; b=DMT7QZQWH+CWhGa8ssIwtYDS5X9O5nm3IdYQQH+pXqNEILcurVmwCLmEoxtdY73n8o qtIjgmE2PG14emEnJgiUQ42t/UtmBmz+M6+1o+k7XeSo/eseEOa3IEWkhC7LNbyNAyAi Hj1wkV62MK+UinEmmwfUHjf1iEDOswB/AeBk9wkJZP+p5FhHHANWr8WjzOYnF+KZGdvV 5IsBxNhqC+NOvT2s6qwH6nH0xNDGViNOilP/2uSYL0NNZGWpxps/eODofLEqKi/ss6AI 9J3hMKcTM+7FkBsg4fYxoKBzEO2E6B4s1s0NQtgdptpIhuhBgLJArlkQh0F9NMZsKh3M Fmyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nqpS1Xl1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id os28si2668796ejb.528.2022.02.09.03.13.33; Wed, 09 Feb 2022 03:13:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nqpS1Xl1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1352427AbiBHOis (ORCPT + 99 others); Tue, 8 Feb 2022 09:38:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351275AbiBHOio (ORCPT ); Tue, 8 Feb 2022 09:38:44 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A25C9C03FECE for ; Tue, 8 Feb 2022 06:38:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644331122; x=1675867122; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gA6guodQWyiVPgot2dWXNqcVIT6qKmygJjcTgUAPzwc=; b=nqpS1Xl1+jUUFk9zVxrptkvIbhNP9PSFcGGYATW+cA5IYMKGoc9oWyNH y70bfOBJrfee7JAE6uLy2d3oqxQXsLcPIo7EIq4hyTW5NBa0hqS77oLJt l+x//mqYBaxUQi8hJ9K6Q7NCzZwp/ulvKoXHQwWzprwr3nRHxbl9TFevO rdpX6h/zQMSRS8GHeqqagk4gz4Tyf6NEexqOA01LOOAXyTan+jfW+OpSP s6kticXtwQ0KPTj6KUstP/9s4W2tq0Fv6i9YlEJM3SH5ttqUR9IQvceJa al0fN7cGChW3ScP8Zv5A16DUD2K8kSua9BYn05WqqD9Q3vjWge8kpMGuA A==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="335362678" X-IronPort-AV: E=Sophos;i="5.88,352,1635231600"; d="scan'208";a="335362678" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 06:38:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,352,1635231600"; d="scan'208";a="700862339" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 08 Feb 2022 06:38:39 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nHRde-0000JQ-VX; Tue, 08 Feb 2022 14:38:38 +0000 Date: Tue, 8 Feb 2022 22:38:26 +0800 From: kernel test robot To: Zhi Wang , hch@lst.de, jgg@nvidia.com, jani.nikula@linux.intel.com Cc: kbuild-all@lists.01.org, Zhi Wang , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Terrence Xu , intel-gvt-dev@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH 1/3] i915/gvt: Introduce the mmio_table.c to support VFIO new mdev API Message-ID: <202202082210.BpzSju31-lkp@intel.com> References: <20220127120508.11330-1-zhi.a.wang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220127120508.11330-1-zhi.a.wang@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] [also build test WARNING on next-20220208] [cannot apply to drm-intel/for-linux-next v5.17-rc3] [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-Introduce-the-mmio_table-c-to-support-VFIO-new-mdev-API/20220127-200727 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20220208/202202082210.BpzSju31-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/533f92651a7a56481a053f1e04dc5a5ec024ffb9 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Zhi-Wang/i915-gvt-Introduce-the-mmio_table-c-to-support-VFIO-new-mdev-API/20220127-200727 git checkout 533f92651a7a56481a053f1e04dc5a5ec024ffb9 # save the config file to linux build tree mkdir build_dir make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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 sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/i915/gvt/handlers.c:45:6: sparse: sparse: symbol 'intel_gvt_match_device' was not declared. Should it be static? vim +/intel_gvt_match_device +45 drivers/gpu/drm/i915/gvt/handlers.c 12d14cc43b3470 Zhi Wang 2016-08-30 44 12d14cc43b3470 Zhi Wang 2016-08-30 @45 bool intel_gvt_match_device(struct intel_gvt *gvt, 12d14cc43b3470 Zhi Wang 2016-08-30 46 unsigned long device) 12d14cc43b3470 Zhi Wang 2016-08-30 47 { 533f92651a7a56 Zhi Wang 2022-01-27 48 return intel_gvt_get_device_type(gvt->gt->i915) & device; 12d14cc43b3470 Zhi Wang 2016-08-30 49 } 12d14cc43b3470 Zhi Wang 2016-08-30 50 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org