Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp302590imu; Fri, 16 Nov 2018 02:49:18 -0800 (PST) X-Google-Smtp-Source: AJdET5fJQT8NMxy8bxf/IydYoCi/5ve7mw8YTq0Q5AyErup1DAsnvxTnFwgKxTEY0uT96mQubjl7 X-Received: by 2002:a17:902:868b:: with SMTP id g11-v6mr7447330plo.96.1542365358199; Fri, 16 Nov 2018 02:49:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542365358; cv=none; d=google.com; s=arc-20160816; b=ShgcxaNYenk9Os9+BxpN0ppktKdU7/SifjjK5V3hKP5QwpolzIHO4rVUHzJ4m5tvZT L0UvICUUvSROBAYfuLQhyVq4CZ4g94XVQ2ArAtsHE6fdPD6Dg7NdXNBqpXlYT5i5+n8A UUJMjcbOHeEH7cD+y71J8Ed5op37WjL44UDgsH1Wxptv1NwuZvh9AIrq1Vxj+0ZciFon fTE7hO3oZcAviYQm6E6MrYlQoHt5x5jMva47ObYBX4hymv7uSRfmu9LE6VB52E4imQUx c5umZsldRCRhs4GU9Q2RMyVJv+dlLUws3HNFmjLzj6j2E/Pjd6vYuo+s3xv7liBFljM2 agWA== 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:message-id:subject:cc:to:from:date; bh=9fJ7VZkCbo/UWgAyfTBBs3S2C5VNw0941/rruBst7ws=; b=gMibOBf8xo5U+LlnlO7zmME3r/WxpjCORyQvQ2xzcJakdm1ow2w+gtvzLpM6jxnkgv QqJ6fSLwXtARNYbaP9EylGPveysrzHyS1lTltdiUgiAE3VlJpVoFpg5vG4vhZO7IXYQI jBITZD04Usmvpb97P0LFM8i/YEL1lsd72Pck26WRLe6QdOUU0FrjMKMwieFN9h7jASBX 798oa5Uub0CKgHaA+FTz0m6nNEblcR/+ih4u4/+ccFvfMUoLtr/82zw9+FA/JNEGhN2L RXRfXnMVAZaC/0djuhgjJIjEa4cJ+egK9+LyzhhAzCcIG5r6a66cR0MO4JG+RIWUjuvk F71w== 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 15-v6si32887801pfr.242.2018.11.16.02.49.04; Fri, 16 Nov 2018 02:49:18 -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 S2389591AbeKPU7s (ORCPT + 99 others); Fri, 16 Nov 2018 15:59:48 -0500 Received: from smtp2.provo.novell.com ([137.65.250.81]:58398 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727454AbeKPU7s (ORCPT ); Fri, 16 Nov 2018 15:59:48 -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 03:47:53 -0700 Date: Fri, 16 Nov 2018 11:47:48 +0100 From: Petr Tesarik To: Tony Krowiak , Pierre Morel , Halil Pasic , Harald Freudenberger , Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/1] s390: vfio-ap: include for test_facility() Message-ID: <20181116114748.590dfb45@ezekiel.suse.cz> 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 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" -- 2.16.4