Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp876523imm; Fri, 22 Jun 2018 06:51:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJIsjid/yqd3hWYFosDrQWvbXWcxH+fiJRKEJyPXnyBdwLGg1KWxNRXQy8XdIcW+iGaqPEp X-Received: by 2002:a62:a8e:: with SMTP id 14-v6mr1849599pfk.57.1529675467186; Fri, 22 Jun 2018 06:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529675467; cv=none; d=google.com; s=arc-20160816; b=Xqizy3rlvbjhY0WokkTNSrWYQNgZTBILdYdEYnuetgNVJzBgSPDXj3FNO2DyBmXLwi 9uftOqqAFPEYVEvK4FR+RbhluAnjpunO7W6eDexT36p8BmAy2AgGXbqJcAfIAztoV4AF Sgh632eGewAGARPxjsFY+dXBzA/5Q/mzCILXM0bHRxfc12JfATR4xAtn+oysFO4Y4iCp s239IZKxwlq6kLs53gnTqePTtzqQctUy/bgxGv8OLjukJ6s8GPXqh9z/jDhsspFJRo5Q X7mAXPG7fHDE2DFzxh0dJ3uoaVVpck4zKmbsTkVbcSZkou1wzbN4kZKY9rDwQjTsmn4d wHUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:message-id :arc-authentication-results; bh=1d7oyxidbIuqq/p4B9naVg8WiJ4yG+lbYa7C9uPIVK0=; b=h1HkCwCrvYKbg7M+wpjKSiCngR8bwQDKJZdrRjVqX7itrj4GVwejoThu6AzVDbxegJ HnAI2vId1oO4BT2/DMcfbMUydV6YNvNQFYmD29OPV/SODMhJKTjaowPTJnQsX6MaUJs5 3A6ckhh8F2lPY/gEO/NzOzjKaE9LJ/wyTDhmkXR7aCsHbNqjlt3HR7rMnpR69YaaPt/s D5fyjY7wsIT7iSk/12J/OXStWMRCugUeGIUyxmXL8mV4Ego+R0jjMXnfFohGtrPdwzVE tCIu3SlRYeBJIPeXlpDYKb38hKQMRBTjqZnrM/lbbsTIYbtcUl6UIdZzmSJToLYgEUZq Ev6w== 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-v6si7746705pff.154.2018.06.22.06.50.52; Fri, 22 Jun 2018 06:51:07 -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 S1752429AbeFVNtw (ORCPT + 99 others); Fri, 22 Jun 2018 09:49:52 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:45242 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbeFVNtu (ORCPT ); Fri, 22 Jun 2018 09:49:50 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 41C0LL2cH5z9ttw5; Fri, 22 Jun 2018 15:49:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id zKM9-b6FfJme; Fri, 22 Jun 2018 15:49:46 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 41C0LL28nWz9ttqy; Fri, 22 Jun 2018 15:49:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 631E18B967; Fri, 22 Jun 2018 15:49:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id lkd_M-B44vBV; Fri, 22 Jun 2018 15:49:48 +0200 (CEST) Received: from po14934vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.231.35]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 39E958B964; Fri, 22 Jun 2018 15:49:48 +0200 (CEST) Received: by po14934vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 2B3976763B; Fri, 22 Jun 2018 13:49:48 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [PATCH] powerpc/mm: fix missing prototypes in slice.c To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , malat@debian.org, aneesh.kumar@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Fri, 22 Jun 2018 13:49:48 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the following warnings (obtained with make W=1). arch/powerpc/mm/slice.c: At top level: arch/powerpc/mm/slice.c:682:15: error: no previous prototype for 'arch_get_unmapped_area' [-Werror=missing-prototypes] unsigned long arch_get_unmapped_area(struct file *filp, ^ arch/powerpc/mm/slice.c:692:15: error: no previous prototype for 'arch_get_unmapped_area_topdown' [-Werror=missing-prototypes] unsigned long arch_get_unmapped_area_topdown(struct file *filp, ^ Signed-off-by: Christophe Leroy --- arch/powerpc/mm/slice.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c index 205fe557ca10..9530c6db406a 100644 --- a/arch/powerpc/mm/slice.c +++ b/arch/powerpc/mm/slice.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include -- 2.13.3