Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4251563imu; Mon, 7 Jan 2019 19:11:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN43RlvttkVhKnf5EL6i9HdSD2z7sN+8/tb0Ztmk1HEtrZGanSPwux+zWZeAl+6ty3gwfzv6 X-Received: by 2002:a17:902:b20e:: with SMTP id t14mr77027plr.128.1546917076157; Mon, 07 Jan 2019 19:11:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546917076; cv=none; d=google.com; s=arc-20160816; b=uR3XVrRZM7JjA0nil8JL+MNV2R7S5FR1x/XKa9N20tE2ACc/p5qC0H0AuoI8HC2qVk QtY26CkeEPN+/xRrtlY1T7SAKuGHU0sqXyk482YuCYRRb6U3F1mZ2SbV+czW8EADM/q+ 7rVM8w06i+27coaAN2bY2c3S7dKWk5wLObK8XmG3mnd4wawyL1HyJsbHqK2QKsF3TVFa EVHFhdWI8Ax0XS7VmBmcv0xjRqiEjRsafSxMq6lPyLk/AIZgGX/wgwJfyNsq8bXJ1Tvv oEnv+K9f5LJrh4Zp7h6+FishIiIpL3Luywp534MuhbKL3USUQyfM7dJfy2xhr1DsCzrZ ms2g== 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 z6si59618071pgl.109.2019.01.07.19.11.00; Mon, 07 Jan 2019 19:11:16 -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 S1727435AbfAHDJO (ORCPT + 99 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(-) 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 -- 2.7.4