Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp499919yba; Wed, 15 May 2019 05:13:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGvwum9zqkz9jTeMpoa5OfP5lsgL8jE3uJ5l/wlLiZBe/SgI3kIKzc47cn2xYOlnMSe2wA X-Received: by 2002:a63:b901:: with SMTP id z1mr33276849pge.102.1557922414176; Wed, 15 May 2019 05:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557922414; cv=none; d=google.com; s=arc-20160816; b=dn8Y/NjgREAgjlI1JaMbSK0mflddE6vhnXZ6aUqT1Lohgl0aH0oZwJ0FVXooaXpykW /5wx9ul5VRYHTTR4Bn4N86O0ZLQTZ5bJ7nFkRy+iTyHVGXvHBjIo037nFBY/ymtEIG9o bFOV7ICDKICh00PG3i9RFg5FOkkfCN38ud458PxVM42fQZwxOx3a5omPvBpFkJFNLzwh pnImZX5t9osph+LqZFBZjUcya+JIT/lsnDcpRznpgKe73NV6Yln7vA4N9HrMqEW7FeTv qwbG3402bO5xVTMPm80CtG5FKzLAWxefSK+2mO2WT0t1HP/nZJxrjcMj0p5onlcUrYkz g1GQ== 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; bh=CFKFwgLozVIM6dscXeJBqjWNwAotJvVX+KZD7JqTJhw=; b=iTIGlzsmuHAq/ZaAEkJiCjfv8syisctYyj3c/OiV5LsR7pJUFXwv5tK5B6Tq+VeL05 g/3H0CqqlL1wJoYLZPwd+khszZ5WAauWr3jNXVG+rqfFRmRpZR5S3AagJwBYjPalp0P0 vlLcK4wJs5Pxa2CAkcNtLSw7W4XzNdNfn0yim3mvF0xvaIDz2W4L7sGeboQBcBFC13Ah jROMSWFKr44yy7JLjqLWp4D6RNFNkfS1zZT86C6KlNgEVLrbyCqynL1tmnL1HTLnQ/u2 BvigTgOirP5f6GxPNasyqDjcT9vx0HoJU7G+N/kriWIanPSFjmE8GqdV5tzMiYsHQM03 sMxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rEZd9BQC; 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 t9si1515662plq.396.2019.05.15.05.13.19; Wed, 15 May 2019 05:13:34 -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=rEZd9BQC; 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 S1729401AbfEOMKO (ORCPT + 99 others); Wed, 15 May 2019 08:10:14 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:54624 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729014AbfEOMKN (ORCPT ); Wed, 15 May 2019 08:10:13 -0400 Received: by mail-wm1-f67.google.com with SMTP id i3so2408846wml.4 for ; Wed, 15 May 2019 05:10:12 -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=CFKFwgLozVIM6dscXeJBqjWNwAotJvVX+KZD7JqTJhw=; b=rEZd9BQCMnveEHnW1EzvyB1mf4vdRdsj1KDivixg8uQO3ZRtnIPm9n7ribcAB6WmAG rYiqArIQw4TWQrCbePoK51atfLhI8UASv873PwpBgqGeraXUomT8Q9OVMKqgS7zhUtW+ e6Um4yftwThM428E24xFoAy485veY5Sz6ep54y79hQmhvXUa6eqATSFqIkOP6TGCzmOj rUwVPTteu1AsINuyrk5rKeuqH/sqc0lcyoon80pHmoRcsaKJzA2ElDkRnpVtpDu/jfrG q4yz7DVm+2lRxc5346NALN5LG+Lg99spJProW6l2dzcESBAqDycAnG1Z/OD7wigZC6Vm QQHg== 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=CFKFwgLozVIM6dscXeJBqjWNwAotJvVX+KZD7JqTJhw=; b=T0WhSFPDOMBbTOVKjyAg9j5/XyHBbXBtF7dQ+q1sPj/ehjoMU1EhswjLYOMJN/B0bj lr0/4XWhQTYdk4yEiwtHIYqpsbRZ+m/kcOvXbD4FCctO+fNSkHGhS93QwP98Bt6+5wIK T5ugpbtBIAFX+Z0ccsDM3oefg9/I3Tmy9/OWhaOekS2VZKNqO4j1Ps89VODo2qzZiSPE sjOsTpEQ/08ALS5dEXZE8sgFrSfaWu42sU7wGZDN81NbfBkSIf9ae4g15miSGQ+qYXnV 7EjkoEiqubpm476+jJ/XMS95FEdL1lfHX0SlgGzh1Honta1Mo7U11eSOihuexrc8zDok fSHg== X-Gm-Message-State: APjAAAUIVUrkla7kpUg8JoksHfz3HwVA67TrDMdEFIqNpWEjGKPZtAsV zVIziN/24PlRWPaNYDxk3Zs= X-Received: by 2002:a1c:5f02:: with SMTP id t2mr22591116wmb.19.1557922212170; Wed, 15 May 2019 05:10:12 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-224-134.fbx.proxad.net. [78.225.224.134]) by smtp.gmail.com with ESMTPSA id v1sm1847403wrd.47.2019.05.15.05.10.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2019 05:10:11 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 7FB421146D7B; Wed, 15 May 2019 14:10:10 +0200 (CEST) From: Mathieu Malaterre To: Michael Ellerman Cc: Mathieu Malaterre , Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] powerpc: Include header file to fix a warning Date: Wed, 15 May 2019 14:10:08 +0200 Message-Id: <20190515121008.3992-1-malat@debian.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make sure to include to provide the following prototype: __find_linux_pte. Remove the following warning treated as error (W=1): arch/powerpc/mm/pgtable.c:316:8: error: no previous prototype for '__find_linux_pte' [-Werror=missing-prototypes] Fixes: 0caed4de502c ("powerpc/mm: move __find_linux_pte() out of hugetlbpage.c") Cc: Christophe Leroy Signed-off-by: Mathieu Malaterre --- arch/powerpc/mm/pgtable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/mm/pgtable.c b/arch/powerpc/mm/pgtable.c index db4a6253df92..2aa042193ace 100644 --- a/arch/powerpc/mm/pgtable.c +++ b/arch/powerpc/mm/pgtable.c @@ -31,6 +31,7 @@ #include #include #include +#include static inline int is_exec_fault(void) { -- 2.20.1