Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1081imm; Tue, 22 May 2018 12:56:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZor6m6wlL40s/g73C38/wQlCwIRc8IqckXF1qrxUIYv5WSipj9UcwNsau14r3aLjB95cGUK X-Received: by 2002:a62:981d:: with SMTP id q29-v6mr25576498pfd.65.1527019013662; Tue, 22 May 2018 12:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527019013; cv=none; d=google.com; s=arc-20160816; b=MGNohBbgtGECC5hW7B4kvdAOHS2+NRlb+CO7RNHTLOGvABIESPsV/qvlJxC6qcSC58 XsjczuHw6khpMj2f/S5J3KJ1N0OQq494/k3OQ7PixZwwb8hWv3XwbEpxxXSw1k1SktKg bOWN9+o/fBKMR4MjJO5ieVG09u2m2Sr9wWOFMHkdgg2bfNS5fW+ktItMerj5LL33czUm +LcIMA3/02l56eYDw7kKA32bjTiHZ6lWIxPqJUAtZc5X+MF1ZtRW0OaF+V7JKhCS06FT 7lkxBj7sGTp937vdmjNIHuqgkJoFGrYg7sD6W7nR/ad6X/PPb58S2K0VadpKDOW6hF+l 2OTg== 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 :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=KW2tLTMGM2VM5YyOUlpbjMMk5vuQHoywkcDjm8FC7CQ=; b=dRw9hukEEjALH6Ht0/dKaStbSxPxttKjASNGTaZUeWaWaEQ+q7gxfSJrqM1UpjbqFY fUbVfdX2jcC9ghCsH5T2D2Yv+LKXftfXFkk8fW96VyAathjZ//KzjBkPx0rzQ+CBorNm Y9Fd7Nkns07ORj1NARtA2J4SdLXFoGFLxdq5S6lQO8ZkItC6psH1XSGHv6QpIyOcQ/NT oDPYn8y4JEv1mIsxOOSD8y9u9FbbtoPAsfmp4sr2JCdfODhSq8HwVr25sLZWpaH5sf0k nGIhUAa6OSrT8pgC7XgrjjdURIUzKrDz5fWHaJw8hIjhr1sbzL4zcEriOw50O0RyF99T yCaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=S46dxxxv; 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 n4-v6si17066241pfk.277.2018.05.22.12.56.11; Tue, 22 May 2018 12:56:53 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=S46dxxxv; 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 S1752416AbeEVTzp (ORCPT + 99 others); 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 Received: by mail-wr0-f194.google.com with SMTP id 94-v6so22288841wrf.5 for ; Tue, 22 May 2018 12:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KW2tLTMGM2VM5YyOUlpbjMMk5vuQHoywkcDjm8FC7CQ=; b=S46dxxxvS3yvl2DLhlAkmH96S2Rq2LJz+UDZygh3uGim1U8YAdhoZzPNh61qO8svG3 7zp6FIyFvTwSIMVU2gdYbHjwXFB1eDfQnstlx5+QUlsPH72nKM1s8/AXH7NZGQuHMmU/ aVqGlsw0px5u7XPGfAOhZ5uwCwwndXRWh/1WoyZMDPKzL/ge0ddefPbhk+Pdgbz8t9+L glQRVgLtC9eUI8X+U4MjxioRdnWbB1YXGLAmtjjLT7OlN8pyXZBw2JLZwxLRBasBTLmH C6Ts3vdLpe9FGwVLbPrQO7BZiegS7wW2bDxnN7O+80nrNGY7Y4RGnOChzgUBL2Ee+2yq lJow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=KW2tLTMGM2VM5YyOUlpbjMMk5vuQHoywkcDjm8FC7CQ=; b=AMfsHbsqXcpqKGpMGrizucIFGSl1q1GWGDAo3R9R8CBcFYXnhSimHzHfUX06cogdRF M6UWhz/KLTURsERgEZMfjG7uYmezfzWzwH5YwCqy0D+mSGvmuamZWk3aCbH49TbAZugI D7ZGv1giLdAcdsM6M/6U3bkWDK09e3Q5iXeefwHQxw/0EGt/y1hilcwzW5IL2lhjzGsQ WYDEl+I47YjzPh52AhqmnExxtNLtr2KuCitNYBXU3g4pYlRni34R8+K5aksUxnfbxNm5 Nlw0JAlkl7Zc8AMJ/k6DRSV58QVqEtDsuI7Kb/vb3Do0GK7EchHT+h5pcKKJESU2l6sP aYQw== X-Gm-Message-State: ALKqPwd69BS6tLDU3x12fj/E5RkCgdTCXQZ3S7ArZWGlk6V2tUWlc40j A5lUVkc/ZFikh0SGgq4LVdc= X-Received: by 2002:adf:9383:: with SMTP id 3-v6mr17595927wrp.224.1527018943504; Tue, 22 May 2018 12:55:43 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id x65-v6sm829679wme.31.2018.05.22.12.55.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 May 2018 12:55:42 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id E2B4810C03F1; Tue, 22 May 2018 21:55:41 +0200 (CEST) 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 Precedence: bulk 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