From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752512AbeEVTzp (ORCPT ); Tue, 22 May 2018 15:55:45 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38039 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751601AbeEVTzo (ORCPT ); Tue, 22 May 2018 15:55:44 -0400 X-Google-Smtp-Source: AB8JxZrLLDQjhWkQLtEwpuiwHFWbhDD8bjW9JhoOt7TmV6KVaPqNWkhg02h7ALkYg3fLVr9XQrZRyA== From: Mathieu Malaterre To: Tom Lendacky Cc: Mathieu Malaterre , Andrew Morton , Ingo Molnar , Thomas Gleixner , Kees Cook , Laura Abbott , "Steven Rostedt (VMware)" , Dominik Brodowski , Gargi Sharma , Josh Poimboeuf , linux-kernel@vger.kernel.org Subject: [PATCH] Add missing header include Date: Tue, 22 May 2018 21:55:31 +0200 Message-Id: <20180522195533.31415-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In commit c7753208a94c ("x86, swiotlb: Add memory encryption support") a call to function ‘mem_encrypt_init’ was added. Include prototype defined in header to prevent a warning reported during compilation with W=1: init/main.c:494:20: warning: no previous prototype for ‘mem_encrypt_init’ [-Wmissing-prototypes] Signed-off-by: Mathieu Malaterre --- init/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/init/main.c b/init/main.c index 3d6b31f4e520..35ce2ddb1322 100644 --- a/init/main.c +++ b/init/main.c @@ -91,6 +91,7 @@ #include #include #include +#include #include #include -- 2.11.0