Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp30677imm; Tue, 22 May 2018 13:25:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpSHn93wbTPH7rXY1rdL61L7elMCB/aK6D4xN//f8B+Yef3OE6JaJTTFvgmdtgcq76PuVj9 X-Received: by 2002:a65:644a:: with SMTP id s10-v6mr8241200pgv.53.1527020742022; Tue, 22 May 2018 13:25:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527020741; cv=none; d=google.com; s=arc-20160816; b=tD4sQJGc/DIsPBcAc9EMIhlTElg7za/g/pBQoRBaoVkTzGkxkSX2KFdSGQF0dmDsyH fiITWKgbGSbD/sQbUm4Ecja9oRKvuyxpZt6wziGAeotpCqZ9qaU4X3sdtAL8CTGcxmCE cqG1vgMC5ObPB00gK3itQw8+As4vOaJv2K4MaiTsRJDzMa+kpHoJ7bxP3tH6O7JhKU2p UxDOzXZWL0jTHzNdRl+woAx2x2K8f3kgIwHGCazmv1pmVJs+LR5vTXmtcIAJnwW8BHWI COb36vz65ES74dp/m+azP/Omc+SLzqq6hh6xtcJ+BomosVgIoxqFqdGYpewnPAW9TP78 T18A== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=MU69EUmlB3aFgvnHeUS4BZzHt2t3PBzF7JpcinLsLd8=; b=guB+m0jbH0je9f0bLaX1EjFX5yKqv4+MblY7nKNdcSPHJAIaSdx5MeuZbeLqkTX7RI WxwGASLtkxEzFTuw9JvZ1z3VkFoBb7A/Wg3rgHfBeLrxds1ykM2dN1bYTjJNoyGWYObl VN37y+9AlIDcnpMHeGzNI7qPljQGqBI1Ix/WQ75nG2Nv8mkXn8V3a/GvYUdcIsPBJ07O zPfRt8V6Z2bV8XcOOqXiovrnYsUup3khtl+6gbX4LWNpRjQn2gXHDwTiTana+jmTLufx 8Awv0Slf2a8KOnMTsIGbJ99u6DxGgUDw3ZjJKJr7KRduOsKuiiInYDpmFAPgBnDW2Oa9 rgmA== 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 3-v6si17442487plp.515.2018.05.22.13.25.27; Tue, 22 May 2018 13:25:41 -0700 (PDT) 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 S1752644AbeEVUZQ convert rfc822-to-8bit (ORCPT + 99 others); Tue, 22 May 2018 16:25:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:33072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751582AbeEVUZP (ORCPT ); Tue, 22 May 2018 16:25:15 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A233720873; Tue, 22 May 2018 20:25:13 +0000 (UTC) Date: Tue, 22 May 2018 16:25:12 -0400 From: Steven Rostedt To: Mathieu Malaterre Cc: Tom Lendacky , Andrew Morton , Ingo Molnar , Thomas Gleixner , Kees Cook , Laura Abbott , Dominik Brodowski , Gargi Sharma , Josh Poimboeuf , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Add missing header include Message-ID: <20180522162512.224b301b@gandalf.local.home> In-Reply-To: <20180522195533.31415-1-malat@debian.org> References: <20180522195533.31415-1-malat@debian.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 May 2018 21:55:31 +0200 Mathieu Malaterre wrote: > 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] Acked-by: Steven Rostedt (VMware) -- Steve > > 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