Return-Path: Subject: Re: [PATCH 1/1] s390: vfio-ap: include for test_facility() References: <20181116114748.590dfb45@ezekiel.suse.cz> From: Christian Borntraeger Date: Fri, 16 Nov 2018 12:48:56 +0100 MIME-Version: 1.0 In-Reply-To: <20181116114748.590dfb45@ezekiel.suse.cz> Content-Language: en-US Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Petr Tesarik , Tony Krowiak , Pierre Morel , Halil Pasic , Harald Freudenberger , Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org Cc: linux-kernel@vger.kernel.org List-ID: On 11/16/2018 11:47 AM, 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 Acked-by: Christian Borntraeger > --- > 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" >