Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5350818ybi; Wed, 12 Jun 2019 00:44:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmE+ZAo/k4nnMcFS4BxO7wbk3ofIchW06FarXh/3WpQbDGFNT8DtcqEv7q658RtrbXb7wj X-Received: by 2002:a62:bd03:: with SMTP id a3mr28022236pff.209.1560325481285; Wed, 12 Jun 2019 00:44:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560325481; cv=none; d=google.com; s=arc-20160816; b=egSF0aQ7Qg9eO9qXO5i/AkkYkf1bbyOp6BNS10ncZNeMBpMiZXMbJWMhZI0UvR7es2 JqoVZMemLNkaOUQQyCq8IN+mxqEKBjSOWZ4axydlUzc3udVVSdWuxJxhHTqdihMjZvDL Mcy1WcObIipoItH45UsK3uM9J8t4LErAw7gVpriGSh0rvpimb+OPGgifws8ucKbfeE5R 4381lxm8wH4dZ6YG49q9EfJjXfW4TBA7X/7I+xelEJJMI0rYXrcjIC6dz4xRzAX6vexq yI5j8mXp7bjmMnJYogpp4xjcT7Evn+uieNE5I5j1zJg+oEAngniDL8cmhxbgqy7KOiny OOLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date; bh=FVBOVmOE/vm681OJQVUYrGr73StG3YZaLMnAH2OCYJQ=; b=dMEtZU8bk827My4EGC4hdNRtKfTBfO3msugYX32zDJ+UtnQSBUIVYY7AWoiJHt56TU JUrWf9ZNdXtvnmdwxY1kJ/8h6WdGffyVfHDKg57jcG8GCvoK4Mx4FgQW5zX8jsHHrTiv eVWyhJU89ql1KgSdKQvmR6/gT/CtlN+b0OYnfyRq8eY/xDp6YGTqlyGSfWhZYw2yNP38 zsTfOsVu+0NNesdoffjczlCB/o/OnFJgvJFJ6tjuunYGLaAApGl99oqWwIikhk82UzwV v2Edo3hD2ACxvoEmMFQMBtG/mTDVS6SnhfwLAmI5YYXRjSJM49OzK5pFiuQs0cwHS9Rw uMtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k186si9030350pgd.148.2019.06.12.00.44.22; Wed, 12 Jun 2019 00:44:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392019AbfFLDYa (ORCPT + 99 others); Tue, 11 Jun 2019 23:24:30 -0400 Received: from mga17.intel.com ([192.55.52.151]:58308 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391141AbfFLDYa (ORCPT ); Tue, 11 Jun 2019 23:24:30 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2019 20:24:29 -0700 X-ExtLoop1: 1 Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.116]) by orsmga003.jf.intel.com with ESMTP; 11 Jun 2019 20:24:26 -0700 Date: Wed, 12 Jun 2019 11:22:36 +0800 From: Zhenyu Wang To: Hariprasad Kelam Cc: Zhi Wang , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/i915/gvt: remove duplicate entry of trace Message-ID: <20190612032236.GH9684@zhen-hp.sh.intel.com> Reply-To: Zhenyu Wang References: <20190526075633.GA9245@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JSVXQxoTSdH0Ya++" Content-Disposition: inline In-Reply-To: <20190526075633.GA9245@hari-Inspiron-1545> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --JSVXQxoTSdH0Ya++ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019.05.26 13:26:33 +0530, Hariprasad Kelam wrote: > Remove duplicate include of trace.h >=20 > Issue identified by includecheck >=20 > Signed-off-by: Hariprasad Kelam > --- > drivers/gpu/drm/i915/gvt/trace_points.c | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/drivers/gpu/drm/i915/gvt/trace_points.c b/drivers/gpu/drm/i9= 15/gvt/trace_points.c > index a3deed69..569f5e3 100644 > --- a/drivers/gpu/drm/i915/gvt/trace_points.c > +++ b/drivers/gpu/drm/i915/gvt/trace_points.c > @@ -32,5 +32,4 @@ > =20 > #ifndef __CHECKER__ > #define CREATE_TRACE_POINTS > -#include "trace.h" > #endif > --=20 This actually caused build issue like ERROR: "__tracepoint_gma_index" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_render_mmio" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_gvt_command" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_spt_guest_change" [drivers/gpu/drm/i915/i915.ko] undef= ined! ERROR: "__tracepoint_gma_translate" [drivers/gpu/drm/i915/i915.ko] undefine= d! ERROR: "__tracepoint_spt_alloc" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_spt_change" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_oos_sync" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_write_ir" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_propagate_event" [drivers/gpu/drm/i915/i915.ko] undefi= ned! ERROR: "__tracepoint_inject_msi" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_spt_refcount" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_spt_free" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__tracepoint_oos_change" [drivers/gpu/drm/i915/i915.ko] undefined! scripts/Makefile.modpost:91: recipe for target '__modpost' failed Looks we need fix like below. Subject: [PATCH] drm/i915/gvt: remove duplicate include of trace.h This removes duplicate include of trace.h. Found by Hariprasad Kelam with includecheck. Reported-by: Hariprasad Kelam Signed-off-by: Zhenyu Wang --- drivers/gpu/drm/i915/gvt/trace_points.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/trace_points.c b/drivers/gpu/drm/i915= /gvt/trace_points.c index a3deed692b9c..fe552e877e09 100644 --- a/drivers/gpu/drm/i915/gvt/trace_points.c +++ b/drivers/gpu/drm/i915/gvt/trace_points.c @@ -28,8 +28,6 @@ * */ =20 -#include "trace.h" - #ifndef __CHECKER__ #define CREATE_TRACE_POINTS #include "trace.h" --=20 2.20.1 --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --JSVXQxoTSdH0Ya++ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTXuabgHDW6LPt9CICxBBozTXgYJwUCXQBv/AAKCRCxBBozTXgY J6qvAJ9q4SpHBMazUVGyrExwIyT3tac9zQCbB8m/t9a9wlOqkm0W0bss9NDOds0= =lNiG -----END PGP SIGNATURE----- --JSVXQxoTSdH0Ya++--