From patchwork Tue Jan 8 03:08:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 154957 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4391845jaa; Mon, 7 Jan 2019 19:09:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN55Z1JUIazb+z9z5bk0kQrzcK8fkfSn/cT0+FcGDUXgFdIRTh6vRNWg7h+QckfWwew0R8Pi X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr62519plg.222.1546916955602; Mon, 07 Jan 2019 19:09:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546916955; cv=none; d=google.com; s=arc-20160816; b=p6B8yXXSlenRnIDPwRj5rYkqtRUwQVtB1KimFX4zYyNbnwD4/iGk62GlsKezF9y1JD fs12uOqIOXFhbZvcUdtbIKdtZS9GDqyZ13/Hhpb8knGjys42R5CT12kAroPa4oxExUhq LK91l+IPx8tclk5waP0mMmE7YBSwnFf1n9RnkOMm3YP1sJUyhQcgdzfPsqbMkZXAZC0p 1wwC0pKECpdzFzOxpn2epSrFBO4WjdGk0+00Ph3PxU/Rk87ZhVISsnwEP3aAYUcXlNsE xDHz9A3Og2sAwtGeVvgjAlmy+XY88UvATr0y4KYr03RqUCVCnKXXGbQJjc11CHz/xlAs W8LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=m5WV52/VwpLTcERxr6/ZtnxvtYDgEHjN4n2QvQD/Zi0=; b=byR6DOXD1mzU+LaVTUZ7K7PSn3VSQumqBwGIXY4XJxzk611x2SLSCoTsNYk1jnoW9N dd4GthhKgeWzyvobubnMq9GTbvynEwsKOiBqyAdpw60MybRQLm6SSt//wRawaW5H/nSw MUmP6HphDxMvbJehULLRO5l2pVbW/eqaEov0XylOEkn1bPHHgJy/qgdfxS0jRC49bzAk dg8CbQIs90gGA0NzUgUplwa2A58Kh45xmfidPLypYaOpxTXSPzwDMazSKrdXD9kHYG7E 2HYyRmJLzwiUlI9Hf5zLcZZ4KQXWoAmT2HXQfnj+CT2tEY012WAJ9GtCNGzSqiHJEAiI hpOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uhGTmSE8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si65806888pfe.203.2019.01.07.19.09.15; Mon, 07 Jan 2019 19:09:15 -0800 (PST) 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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uhGTmSE8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727467AbfAHDJO (ORCPT + 31 others); Mon, 7 Jan 2019 22:09:14 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:17859 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727030AbfAHDJO (ORCPT ); Mon, 7 Jan 2019 22:09:14 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x0838WCh015986; Tue, 8 Jan 2019 12:08:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x0838WCh015986 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1546916913; bh=m5WV52/VwpLTcERxr6/ZtnxvtYDgEHjN4n2QvQD/Zi0=; h=From:To:Cc:Subject:Date:From; b=uhGTmSE8yLGEYT0nMFVMoLymcidbDud4eTVfZKj+gCrVRFNs19hU0eLItim0sJTtg 39i1mwrX7+dBuYugVn5pQqZW1Xy7Cqgk73G1JnpAVNcA6ObNykJF0Dm6joWWktHdLV teioFZqFqAbSfZIB+UHxYx4hXYD9Vt4+1vO5fjqYrOLN+m4cA6mAo3K4eXGn2YGCgE hirR82stTjemdYY1nZHM3cjbdzSizganSvZy+HsIHvcuaECOLxYoL+XXCqgxCTO162 Yjf1REUmXOyChhAXtUkQH5RwXgrxwgsmIdmI+scANTvbGfZ6gqYxb/biLTlaX9+vUD rdKPU5izt0Deg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Alex Williamson , kvm@vger.kernel.org Cc: Laura Abbott , Alexey Kardashevskiy , Michael Ellerman , Cornelia Huck , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] vfio_pci: set TRACE_INCLUDE_PATH to fix the build error Date: Tue, 8 Jan 2019 12:08:03 +0900 Message-Id: <1546916883-25911-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drivers/vfio/pci/vfio_pci_nvlink2.c cannot be compiled for in-tree building. CC drivers/vfio/pci/vfio_pci_nvlink2.o In file included from drivers/vfio/pci/trace.h:102, from drivers/vfio/pci/vfio_pci_nvlink2.c:29: ./include/trace/define_trace.h:89:42: fatal error: ./trace.h: No such file or directory #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) ^ compilation terminated. make[1]: *** [scripts/Makefile.build;277: drivers/vfio/pci/vfio_pci_nvlink2.o] Error 1 To fix the build error, let's tell include/trace/define_trace.h the location of drivers/vfio/pci/trace.h Fixes: 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] subdriver") Reported-by: Laura Abbott Signed-off-by: Masahiro Yamada --- drivers/vfio/pci/trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 Reviewed-by: Cornelia Huck diff --git a/drivers/vfio/pci/trace.h b/drivers/vfio/pci/trace.h index 228ccdb..4d13e51 100644 --- a/drivers/vfio/pci/trace.h +++ b/drivers/vfio/pci/trace.h @@ -94,7 +94,7 @@ TRACE_EVENT(vfio_pci_npu2_mmap, #endif /* _TRACE_VFIO_PCI_H */ #undef TRACE_INCLUDE_PATH -#define TRACE_INCLUDE_PATH . +#define TRACE_INCLUDE_PATH ../../drivers/vfio/pci #undef TRACE_INCLUDE_FILE #define TRACE_INCLUDE_FILE trace