Received: by 10.213.65.68 with SMTP id h4csp314084imn; Fri, 23 Mar 2018 05:21:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELu6iN2kTeuKucLNInEbnZstVtI29jzqO6O4tUvJ2JaCDEQxRGljYC5YjAbVMHyS2viWxupA X-Received: by 2002:a17:902:b183:: with SMTP id s3-v6mr29010610plr.108.1521807715861; Fri, 23 Mar 2018 05:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521807715; cv=none; d=google.com; s=arc-20160816; b=DRVTg5x+wdvcyV6VYJEdMZD0AfuffE7w+rhaSEiwBnN4evUGhmnu7GN/uosfyXAZ/c 6+Pw5Nfij6wzUMGmX3H7pISqwkVyrrebZmSWYk8T7Lhj7OAO12Si2HQQUwMM0OIU6I+T o94PtzCn4RVCKA0msS43FW9JtpZkJgZR0/8lT3gJxwld865vn57wnJpn6VygdrwfMhdg A5tV4b506nMX9LKzp31Ot6F2iAmQd+CqQHvZEWfQYv5r4LDQVXt7tTztmiIz7SkRJgIk +6h8fC5VY3p/CZYW0IgiBukOHan0P8p1eRznjstQilrCoMV9/L7fIqJ2zsRO+2oFP1/N 0puw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=/k+x4wMJQVRjr840gKl+hHptYGb3bn4GEVbd5CbiwGE=; b=dH2fxCGQE0IUh9JmKNo227g1EbO5rpjpwUZ9iHRTU0PbbYyILNt29tzmXRD/lHDGP7 Kga5kw8Aj0zW8RbQn4qCRe4UDAdcfp9s94lSi2Px4dgau3qoFb//mZVeq6wRurmJw8mA GS1y4F1oLTPNrzYGxEUHbDkRTDA5gfiedZo/YJ/ze7h9D5Hgjyn4e3hqPPQdL54OXZkW UdgfQcKv/588a7hJUT/MsCIe+D9Ha++9/HI7tro+TBOO7qsZCyxDkPzzC2Kshzv+21bN 6FreYpAyjSVGrjrcHN7WE+8eCdklkNwEZiyHNsqL690SzYdliON27mtpZUIc/L3eHf+H IDWw== 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 g66si3029667pfc.383.2018.03.23.05.21.41; Fri, 23 Mar 2018 05:21:55 -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 S1752828AbeCWMUp (ORCPT + 99 others); Fri, 23 Mar 2018 08:20:45 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:37773 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560AbeCWMUn (ORCPT ); Fri, 23 Mar 2018 08:20:43 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4072gH2gV1z9v0Wf; Fri, 23 Mar 2018 13:20:27 +0100 (CET) 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 z8qKViTEqLRN; Fri, 23 Mar 2018 13:20:27 +0100 (CET) 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 4072gH2CNKz9ttBp; Fri, 23 Mar 2018 13:20:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 82C038B8EB; Fri, 23 Mar 2018 13:20:42 +0100 (CET) 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 1NXdk-sGJm7l; Fri, 23 Mar 2018 13:20:42 +0100 (CET) Received: from [192.168.232.53] (unknown [192.168.232.53]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 2453E8B8EA; Fri, 23 Mar 2018 13:20:42 +0100 (CET) Subject: Re: [PATCH 15/19] powerpc: Add missing prototype To: Mathieu Malaterre , Michael Ellerman Cc: linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org References: <20180322202007.23088-1-malat@debian.org> <20180322202007.23088-16-malat@debian.org> From: christophe leroy Message-ID: Date: Fri, 23 Mar 2018 13:20:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180322202007.23088-16-malat@debian.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-Antivirus: Avast (VPS 180322-6, 22/03/2018), Outbound message X-Antivirus-Status: Clean Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 22/03/2018 à 21:20, Mathieu Malaterre a écrit : > Add one missing prototype for function rh_dump_blk. Fix warning treated as > error in W=1: > > arch/powerpc/lib/rheap.c:740:6: error: no previous prototype for ‘rh_dump_blk’ [-Werror=missing-prototypes] > > Signed-off-by: Mathieu Malaterre > --- > arch/powerpc/include/asm/rheap.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/powerpc/include/asm/rheap.h b/arch/powerpc/include/asm/rheap.h > index 172381769cfc..e75d96de19a0 100644 > --- a/arch/powerpc/include/asm/rheap.h > +++ b/arch/powerpc/include/asm/rheap.h > @@ -83,6 +83,9 @@ extern int rh_get_stats(rh_info_t * info, int what, int max_stats, > /* Simple dump of remote heap info */ > extern void rh_dump(rh_info_t * info); > > +/* Simple dump of remote info block */ > +extern void rh_dump_blk(rh_info_t *info, rh_block_t *blk); > + Only used in one place, should be static Christophe > /* Set owner of taken block */ > extern int rh_set_owner(rh_info_t * info, unsigned long start, const char *owner); > > --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus