Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1045045imu; Fri, 4 Jan 2019 11:58:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN4zgfjEtwoOvG10zfu95LPMoX+ye44j4/0wJ9NdUVso7x1QoygLq+IVBxS65q2PMC0tvrls X-Received: by 2002:a62:2292:: with SMTP id p18mr55058798pfj.9.1546631933694; Fri, 04 Jan 2019 11:58:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546631933; cv=none; d=google.com; s=arc-20160816; b=dpGjvQOY8NH7AN+iOLkE/+jerDGoA1a93B0PKsXojmzTrskLoe3JRF1jY7CAHENHtn 0D6YCPdwH9B3nyCEYrRBezkUPARXjExrY2vEYae7B0NULAdVI/mur5utc4Gwl8m9cqaF ZoLW1X+1gh4oDJLdG37yXO0byt5fa9bgJ09trMmtZQHQSh09YJpfBbHjDZzyGKcyvrwj 8xWkoPTiCYgFZX4QNvTPJ8u6NKjpp9cM5DL87tsFKklYnqBh431A/0A4shrfBmfE6tG9 k6EoHBMkKIVix+J/D9pVuoRbm+IPDWOMMwdyIzv2V6Gcw5qvLcqYUm+7ldvOorfZEAQC Dqdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nu73my8EyoywVEqped8htPAV7wuMwc2otKpVbNgVKi8=; b=Lp6zNE8S03o/qruaXv2teBdhGINu3N1ldoXo6wkvgyaQmu+5NLk/XZXrObWolUie8r GzkZAhEcKFntfk7PLDEvX76BTYeWqAico+mNfZvK88iJD/Ekkz/jDJt4srfH5uiwo84U DfSaPD5gtvmWmDxr+dgoFuNshnKLIGvPAMnAb0Z+XksTMuO0qfLSXamNfT8DK+/P4Fqv UuHRCrUEqT1Q6KreZkAzp+ntpTCzixcKKDC3+/OhoYtPHHsxl+hnaXp7ITJjujzJ/It5 nwHg+z1HTUs4OtJ0bnj79zBt+p4gbCytyCmWfCB0bKamJfV0L6eiL74vFe+BsVVhMuXO bNPw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si21006119plr.403.2019.01.04.11.58.35; Fri, 04 Jan 2019 11:58:53 -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; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726057AbfADT5U (ORCPT + 99 others); Fri, 4 Jan 2019 14:57:20 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:41395 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725930AbfADT5T (ORCPT ); Fri, 4 Jan 2019 14:57:19 -0500 Received: by mail-qk1-f195.google.com with SMTP id 189so22135769qkj.8 for ; Fri, 04 Jan 2019 11:57:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nu73my8EyoywVEqped8htPAV7wuMwc2otKpVbNgVKi8=; b=ogkir86uYMccCR1/VkzaNer/gUwHMB/CZJSagBPGMj42KQukX7NHvGC+A35Cp9EDEM SJ55nu0EROK3eEQRe+gInXdLbG+gbUHQuSk/0TJz/Qi+EJx+1XE4ACt+6RJ4maBV8dnV S14B2iOOJRf2HdlQ8CbR1rnmzcfRuQ5HloJ/HAKjuU9LzKDy7mqB+tr3eFWyrrQODGZp xtaARKxntIlBqjY0nGCTS75Kb2TPre6h5lJ03RaD8izdQEQMffEa1Wv/QdUfFZw3eTQn KZs9X01Ia1vdOJmE0BKshQ3w7Li+ywuWYET6hpfaooYJXzdGpAxAE7JHTgdlEf/03ppK +yOA== X-Gm-Message-State: AJcUukcrB9JLEl69Iu97sw6J4fUal0ommv0vVV3i+SQhOg0+mMDekIkF KLaA64XnJpeB6eAo7lr/vbJUhQ== X-Received: by 2002:a37:5a05:: with SMTP id o5mr48160152qkb.126.1546631838774; Fri, 04 Jan 2019 11:57:18 -0800 (PST) Received: from labbott-redhat.redhat.com ([2601:602:9800:dae6::814b]) by smtp.gmail.com with ESMTPSA id p47sm38210529qta.36.2019.01.04.11.57.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jan 2019 11:57:17 -0800 (PST) From: Laura Abbott To: Alexey Kardashevskiy , Alex Williamson , Michael Ellerman Cc: Laura Abbott , kvm@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH] vfio_pci: Add local source directory as include Date: Fri, 4 Jan 2019 11:57:14 -0800 Message-Id: <20190104195714.30045-1-labbott@redhat.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] subdriver") introduced a trace.h file in the local directory but missed adding the local include path, resulting in compilation failures with tracepoints: 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) Fix this by adjusting the include path. Fixes: 7f92891778df ("vfio_pci: Add NVIDIA GV100GL [Tesla V100 SXM2] subdriver") Signed-off-by: Laura Abbott --- I'd still like to echo my sentiment that this should not be a def_bool. We hit this error on our internal testing and we couldn't even turn off the driver until we fixed this. --- drivers/vfio/pci/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/vfio/pci/Makefile b/drivers/vfio/pci/Makefile index 9662c063a6b1..08d4676a8495 100644 --- a/drivers/vfio/pci/Makefile +++ b/drivers/vfio/pci/Makefile @@ -1,3 +1,4 @@ +ccflags-y += -I$(src) vfio-pci-y := vfio_pci.o vfio_pci_intrs.o vfio_pci_rdwr.o vfio_pci_config.o vfio-pci-$(CONFIG_VFIO_PCI_IGD) += vfio_pci_igd.o -- 2.20.1