Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp311570imu; Fri, 16 Nov 2018 02:59:38 -0800 (PST) X-Google-Smtp-Source: AJdET5d3d7Vkms2tQ+dhxQJyd0vWUKlgS/CGK7H3fsPoufQpSqclh9oilPsY+Wlr05yfFUEJqoWf X-Received: by 2002:a63:1904:: with SMTP id z4mr9208559pgl.135.1542365978315; Fri, 16 Nov 2018 02:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542365978; cv=none; d=google.com; s=arc-20160816; b=iGMFkQo2kPBMUckzntTMQ46qDkgYPcjdwSmh1svXb/Qe9Bk0L2paW3IUuiwW19y2Q5 ThmsGZ/TBps4h5SM/+j/MxNT2jmw84aWg/nDyw34i8M/kReNBV2bfaRQ2iIP4homqPue dhIUeLQSPopYXbMQB6Zo+fwZP4XdZEKqT9sHq0b4OWCl5ScAkVFXnEpdHvseGmKBGEWx neEQ5U6cT/SZcT2ilUi/XN3pnT1vVKj2XNKHs7dpOuELVwC0+cvu8ppnM7WJPSqBlZTq /FdcCjsGtPnXsoBtT6mgtf28LJP2OYDTYppFociXg6D67uiQ0q1sTtcdH9C2rnVTuGnO 0OUQ== 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=IbxO9t0k2HLiGu5h/sAedg3O2MfKIdIaBF/zNuqzayk=; b=XLS0GK24xYKFerfMqJ3flD6ikoyzMn9gASeUjHOw4W+G4SqdbWNlhLAHSkEo3JAa8R 4GCtkbXOECh59omiyNZOI++dKPYeUnb29hphXxjQEY/jCS9xePZrwOyr2UvV9yGCWdGL 6Zf2ON2YlqgS4t6tLaJ/GQtJM/FlDbt2+YJXqSkvceBn2UK4gfRoWfNfoVO0Viz1TqzV lg/dEM4P7Z7H9j+tsttRUEwqa/XvfF83fVufA13ysL6LRFOwlYBgHWLZsOPdHsoorwUH 8R4JEWhluI/LY9dTuZe8OhYXvk8x7MkL6XHgTI/zNt8gx4lbhk5zjMxqvGBQxpYymzp9 5etw== 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 y10si3367974pgp.348.2018.11.16.02.59.23; Fri, 16 Nov 2018 02:59:38 -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 S2389368AbeKPVKg (ORCPT + 99 others); Fri, 16 Nov 2018 16:10:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45826 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727454AbeKPVKg (ORCPT ); Fri, 16 Nov 2018 16:10:36 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C6F9F307CDD4; Fri, 16 Nov 2018 10:58:46 +0000 (UTC) Received: from gondolin (dhcp-192-222.str.redhat.com [10.33.192.222]) by smtp.corp.redhat.com (Postfix) with ESMTP id E5858600C2; Fri, 16 Nov 2018 10:58:44 +0000 (UTC) Date: Fri, 16 Nov 2018 11:58:42 +0100 From: Cornelia Huck To: Petr Tesarik Cc: Tony Krowiak , Pierre Morel , Halil Pasic , Harald Freudenberger , Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] s390: vfio-ap: include for test_facility() Message-ID: <20181116115842.62879dd1.cohuck@redhat.com> In-Reply-To: <20181116114748.590dfb45@ezekiel.suse.cz> References: <20181116114748.590dfb45@ezekiel.suse.cz> 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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Fri, 16 Nov 2018 10:58:46 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" Reviewed-by: Cornelia Huck