Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4261905ybi; Mon, 29 Jul 2019 22:44:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgjC/MrnD9yz05gVFo5teeHdnaFrq9tuBWqg9a3m+feV2qNosDPeTef0YHrP1u8XB7XRg5 X-Received: by 2002:a65:5082:: with SMTP id r2mr81182428pgp.170.1564465496131; Mon, 29 Jul 2019 22:44:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564465496; cv=none; d=google.com; s=arc-20160816; b=xTuxGd/h5mzs1jRzuYfj2UyH18ZaiAbE41FKKBm+6EL7STOQ04ETWmS/b+ERGCaC68 Ja6N5rs4K/NUMsfurW/HJ1f0E7YJM5+idxBO+LjBvjKoHumQM5X3SinsJcFJDJq/t/nb cZhXDHRl3Qq0zAZfSDBqOK+qZMeGj3fV//7uE29QfEawJWF5xzSuYJ3s1QB1BTXgiYwm 2rPCmL3N6/t9r7z+ELQLKxCb4YdakjDRIN2Hgo62X/ENWKCf/kXP39nY4Xxa+FHdw3Bs RT1lyoRNFFgvFTl2EgQ9Jx1rlzEnC7XYbWYPSteg94mnHGPADGvFLPwpalWthy8zDkv3 z0rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=t97LL+XCHOu3B08eDa30bElUjd1R8CZyEJLZZwC7e2g=; b=v9MJEpgyQeL7a2N3eaxp8XV8sO5kbz81ulOt2FM/QJPp0xWLKJQXg1GxEaLZYGqXrF Sn/6lGdQUk6B43U+rBMjNfDnRiS03YG/Mjuu23bRoxnWw72iPlXMqd2S6jLOPgpWxdoa KS0VmxdRW8WHoV5Bise0poYQTxuci+YfvLWump0Tc5YFw/3v9tpW8mK+8K73nrmMmIqB zZyOeFUBhze8Z4nGAbN8/EA0SFqb/kL53rYIKqN+d88bpmX593FwoRcJbLOq5t9ajtrw 1n1LQcfgK7PV8eRm8j0lQVJ7i7qgU19XmeEnLhWfGPBddTPWtUa5XgoukdvkHc+mL0sY 6OAw== 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 97si28222841ple.161.2019.07.29.22.44.41; Mon, 29 Jul 2019 22:44:56 -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 S1727765AbfG3DIz convert rfc822-to-8bit (ORCPT + 99 others); Mon, 29 Jul 2019 23:08:55 -0400 Received: from mga18.intel.com ([134.134.136.126]:16036 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726281AbfG3DIx (ORCPT ); Mon, 29 Jul 2019 23:08:53 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2019 20:08:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,325,1559545200"; d="scan'208";a="346861983" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 29 Jul 2019 20:08:52 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 29 Jul 2019 20:08:52 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 29 Jul 2019 20:08:51 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.15]) by shsmsx102.ccr.corp.intel.com ([169.254.2.19]) with mapi id 14.03.0439.000; Tue, 30 Jul 2019 11:08:49 +0800 From: "Zhao, Yan Y" To: Zhenyu Wang , Hariprasad Kelam CC: David Airlie , "intel-gfx@lists.freedesktop.org" , Joonas Lahtinen , "linux-kernel@vger.kernel.org" , Jani Nikula , "dri-devel@lists.freedesktop.org" , "Daniel Vetter" , "Vivi, Rodrigo" , "intel-gvt-dev@lists.freedesktop.org" , "Wang, Zhi A" Subject: RE: [PATCH] drm/i915/gvt: remove duplicate entry of trace Thread-Topic: [PATCH] drm/i915/gvt: remove duplicate entry of trace Thread-Index: AQHVIM5kvexPfpkDmUCNSg2o5koBYqbixmwQ Date: Tue, 30 Jul 2019 03:08:49 +0000 Message-ID: References: <20190526075633.GA9245@hari-Inspiron-1545> <20190612032236.GH9684@zhen-hp.sh.intel.com> In-Reply-To: <20190612032236.GH9684@zhen-hp.sh.intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2Q5NmYwODMtYmQ2NS00NDVjLWJkNGQtNGRjYzFlMWY4ZjZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVVFxRnF6Tjd0TkFUXC9PRk0wMUlRVHkxc0VSUEIyTUxEZzVFMk9OM09QUjlzMDloZERFQmJLak9RREROQmhydVcifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Yan Zhao > -----Original Message----- > From: intel-gvt-dev [mailto:intel-gvt-dev-bounces@lists.freedesktop.org] On > Behalf Of Zhenyu Wang > Sent: Wednesday, June 12, 2019 11:23 AM > To: Hariprasad Kelam > Cc: David Airlie ; intel-gfx@lists.freedesktop.org; Joonas > Lahtinen ; linux-kernel@vger.kernel.org; Jani > Nikula ; dri-devel@lists.freedesktop.org; Daniel > Vetter ; Vivi, Rodrigo ; intel-gvt- > dev@lists.freedesktop.org; Wang, Zhi A > Subject: Re: [PATCH] drm/i915/gvt: remove duplicate entry of trace > > On 2019.05.26 13:26:33 +0530, Hariprasad Kelam wrote: > > Remove duplicate include of trace.h > > > > Issue identified by includecheck > > > > Signed-off-by: Hariprasad Kelam > > --- > > drivers/gpu/drm/i915/gvt/trace_points.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/i915/gvt/trace_points.c > > b/drivers/gpu/drm/i915/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 @@ > > > > #ifndef __CHECKER__ > > #define CREATE_TRACE_POINTS > > -#include "trace.h" > > #endif > > -- > > 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] > undefined! > ERROR: "__tracepoint_gma_translate" [drivers/gpu/drm/i915/i915.ko] > undefined! > 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] > undefined! > 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 @@ > * > */ > > -#include "trace.h" > - > #ifndef __CHECKER__ > #define CREATE_TRACE_POINTS > #include "trace.h" > -- > 2.20.1 > > -- > Open Source Technology Center, Intel ltd. > > $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827