Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3464291imu; Mon, 7 Jan 2019 04:00:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN77FQDMwbq+07CyDYJrQDtl88orige8rVVb3HXGyLCapPTmxX7bSbberh/i/lPEXXjNEsHo X-Received: by 2002:a62:5301:: with SMTP id h1mr8755302pfb.17.1546862415169; Mon, 07 Jan 2019 04:00:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546862415; cv=none; d=google.com; s=arc-20160816; b=YZdKafveo9gD3vACsNI/bCXdmGl/knGG5wc0sq6QYUIHHZ/dokSl4GdpPACGGm5uQM kUgRxaFsgudZdDOCH9GPgMh8D5RbUlfVoiPZTHvvyRRJRLi4cKgdoFhLzgxRSOKtcev4 OScLCDk0xRQufiYlet6qVlpLu42NEdICsW4k69dw8B+6lnlumkIPR7tAX7nmLeDPVD2/ gsWuRCeRwgzqM0dYxyllht0veqB+cpgGMtJqNPyrxoE5tLhzATyYd/zvlmQ5TCyzDyiM D+LeBzspOFsWdUTvb0glgRl78yHoIu6hTIliVdserJEbA3pzpeDUL/MvfOGq5cEHjJSu t0yQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=hYb1fyRElKQIRo0Ufyq0R7/vs0+Uf4DFg+GCNWL0Dfw=; b=up6WAAeYz9yTyfKEqHHbSjagCpNjG6kmWdigc1ZxzuZmSEfgtMV62pHklL3f0aNdKW B7TtQbduFNIXIlD2nrc81s1U7TgZWGUzARlPCjXcLiOcdHSTimkw/DE2at0rJ0fotp7U 9r8d7wJIxSSmyA2/FKeeqZtwKmIOeT8nPxqXBHp7QxlX7Rp6aUv492lzQHViF+l/EWeo ZETRr2AOSWP8tro5dtiFAigSe2z76kw5cMuCdVvY+2O6XXCDmXjlt7Zp3Tt4qoNpa6Hz JXFujkkyKop4q9ERxEnbuSSkihc0ViS62mSRw8hHmYHdP4g4fFZON4UbbO72GPYhZEy8 yGRw== 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 72si4897898plb.224.2019.01.07.04.00.00; Mon, 07 Jan 2019 04:00: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; 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 S1727059AbfAGLMd (ORCPT + 99 others); Mon, 7 Jan 2019 06:12:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34158 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725550AbfAGLMd (ORCPT ); Mon, 7 Jan 2019 06:12:33 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 97BA72D7E4; Mon, 7 Jan 2019 11:12:32 +0000 (UTC) Received: from gondolin (ovpn-117-50.ams2.redhat.com [10.36.117.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1CEA4608C1; Mon, 7 Jan 2019 11:12:26 +0000 (UTC) Date: Mon, 7 Jan 2019 12:12:24 +0100 From: Cornelia Huck To: Laura Abbott Cc: Alexey Kardashevskiy , Alex Williamson , Michael Ellerman , kvm@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH] vfio_pci: Add local source directory as include Message-ID: <20190107121224.6cdb1a9b.cohuck@redhat.com> In-Reply-To: <20190104195714.30045-1-labbott@redhat.com> References: <20190104195714.30045-1-labbott@redhat.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 07 Jan 2019 11:12:32 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 4 Jan 2019 11:57:14 -0800 Laura Abbott wrote: > 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 Reviewed-by: Cornelia Huck