Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp403622imu; Fri, 16 Nov 2018 04:29:17 -0800 (PST) X-Google-Smtp-Source: AJdET5cPrGtdFGcta8ssrqsIQYm3z9q7IsqZEB0G7ImJ62mvP2lOIV6lH1QGegaPxJvkBHrlAiLG X-Received: by 2002:a63:dc54:: with SMTP id f20mr9843050pgj.410.1542371357925; Fri, 16 Nov 2018 04:29:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542371357; cv=none; d=google.com; s=arc-20160816; b=S1NoOw5h9g9iR2qusJ99j+UFQBIcipsx/y6x70GQn38/gbIA1oy9KpfX7Qv2cQbga6 nwghufYH+SzEcquah5bcRZLtrAidZC/ZnXIZFo6OAF5ivEm8zjTYdi8GxXYUjyvPJSXj KSdsOAB6zVYYvy7OZ5bV5g+Z2dnXy52izwE2CXbUrYbIek+XjI6CW6DnmGq7ibI5DFEp N3H6mZZ0vqPa7sr9WrsOu2yAh3xO4z43nN87FaKq+Lhq5/pSW87mcwZcx5q/nGaAWUMJ iths0RIJygn5AXLwsu2yPqaF4NHK69ow2S+K63sQSmHMfstNce7MinR0KfId50Bu8IQr c5Pw== 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=Z6mVaAlsP/GFrEW7kR02Hs63ljvSFaI+GqMXGXyd02s=; b=bOrDUF759PpV61S25VrkmhcwOfgbnUPox8zD/RUSUZ90x9Q57TEqMeoS+M8CeBhlYP w4s725Q7GJVJW/MfrTuM2moVQ8B+nyuptwvjfJYyFK2Rg5TAr+mJmZANW7CNoYylkSFL VMOtyO1rj4WpJEYOc987Nx7S5K+fyghDYFZHvFT6iyF5GoU8qAvgS0FdE+GhceRrIFYa +/I0m1pRi7xUYc5iySdxvjb9Z7ZW7/o32p+ehJWz2bwvOVLILsi2KLEJbH4nmHr2zccv p7Syv+WwGPnKz8wzjQPXSTCYhlKWPaZeNUndEVBbozutL2Vbpr2Km5c0eO7sqq8beAgX 0RJw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20si28455544pgg.162.2018.11.16.04.29.02; Fri, 16 Nov 2018 04:29:17 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728189AbeKPWkf (ORCPT + 99 others); Fri, 16 Nov 2018 17:40:35 -0500 Received: from smtp2.provo.novell.com ([137.65.250.81]:43559 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727772AbeKPWkf (ORCPT ); Fri, 16 Nov 2018 17:40:35 -0500 Received: from ezekiel.suse.cz (prv-ext-foundry1int.gns.novell.com [137.65.251.240]) by smtp2.provo.novell.com with ESMTP (TLS encrypted); Fri, 16 Nov 2018 05:28:18 -0700 Date: Fri, 16 Nov 2018 13:28:13 +0100 From: Petr Tesarik To: Halil Pasic Cc: Tony Krowiak , Pierre Morel , Harald Freudenberger , Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Christian Borntraeger Subject: Re: [PATCH 1/1] s390: vfio-ap: include for test_facility() Message-ID: <20181116132813.1da70c98@ezekiel.suse.cz> In-Reply-To: <20181116132033.454ee131@oc0155643701> References: <20181116114748.590dfb45@ezekiel.suse.cz> <20181116132033.454ee131@oc0155643701> Organization: SUSE Linux X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 Nov 2018 13:20:33 +0100 Halil Pasic wrote: > On Fri, 16 Nov 2018 11:47:48 +0100 > Petr Tesarik wrote: > > > The driver uses test_facility(), but does not include the > > corresponding include file explicitly. The driver currently builds > > only thanks to the following include chain: > > > > vfio_ap_drv.c > > > > > > > > > > > > > > > > Files should not rely on such fragile implicit includes. > > > > Signed-off-by: Petr Tesarik > > --- > > drivers/s390/crypto/vfio_ap_drv.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/s390/crypto/vfio_ap_drv.c > > b/drivers/s390/crypto/vfio_ap_drv.c index 7667b38728f0..31c6c847eaca > > 100644 --- a/drivers/s390/crypto/vfio_ap_drv.c > > +++ b/drivers/s390/crypto/vfio_ap_drv.c > > @@ -11,6 +11,7 @@ > > #include > > #include > > #include > > +#include > > #include "vfio_ap_private.h" > > > > #define VFIO_AP_ROOT_NAME "vfio_ap" > > Applied. Is going to go via Martins S390 tree. Thank you for the quick turnaround. Petr Tesarik SUSE HW Enablement Team