From patchwork Thu Mar 22 20:20:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Malaterre X-Patchwork-Id: 889644 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 406fMG6sdyz9s0y for ; Fri, 23 Mar 2018 08:05:14 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bUAwxl/b"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 406fMG5DcYzDqy4 for ; Fri, 23 Mar 2018 08:05:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bUAwxl/b"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2a00:1450:400c:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=mathieu.malaterre@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bUAwxl/b"; dkim-atps=neutral Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 406dNN3LnBzF207 for ; Fri, 23 Mar 2018 07:21:08 +1100 (AEDT) Received: by mail-wr0-x241.google.com with SMTP id z73so10009648wrb.0 for ; Thu, 22 Mar 2018 13:21:07 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=UmTCc7+Gfu4PuPDEGJN43JFZdclOV5z7vLP8sjhvtkk=; b=bUAwxl/bQCkCnc7z0ULZbc9J+qfr2ev6LR4073/qYCJ1yegN4sEl8hMLEE5VgFFDVL rkXlGFQszxi9tukveoy+hFoESjSOEdnwaEQAtlkF18dgT8Gat3XqFHx7ZjjtyRh93dK1 FIhJks7/l1S841dKZmczJZBR74BFNIyjnWIImcW4ljSTIPS5hFL0rCWNxK6YX1v30Ig6 wpSFQgRafHg3kzrW4tjl2eh8gm09uNY9bOUBXAl4cxzrw1HgvfTn/11H5Xq2ztqqeQ/o VGMXVrFPr75ghPGL/k+Bgbdz9duoMYQdztmsBm5CGk82pqHoUSZd5L4tcCGIZ0fxoO0v 6V9g== 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=UmTCc7+Gfu4PuPDEGJN43JFZdclOV5z7vLP8sjhvtkk=; b=FjWjDSrKVo/DT9Y2faJ5CJ6NJ6aVojLf7Zduhm3ds/cAtrG/wmBp4LQCY+2ld2NXiC Zqmk1UMWAJt2oMftZuRMhwRJefCgOQATLvT4SdTMKXbnHBG2/ni5QqrZ7Rj5xJUzNd9X iQgSSyI6kWmAOU74Tg7bjsaQBR+ByAY+JurJvrbnuVWbBT7gyjnYzx9PaFziXcwLz56w AQtrnBYieQn3sA9B+06TZ0CD/XKSq2XPq8kubtUyPJIREiHD3CE1k3n8kmlQEVKfNhJp jsjCW4KM4h/DqboMdSdRo8aVD74dqQ46vMoWUttrIYsoAgxkGl2Fd+qKU0o5+L70Apk3 1oAg== X-Gm-Message-State: AElRT7E7VWn36Xl7QVTpyON187+teJ03L2EJLu49GQWXqDNuH96sjzHZ OgnNQyW6NqshZRSSo6mDZzM= X-Google-Smtp-Source: AG47ELvJm5PQ1PFeQaA3piXJ5S1tPmrFQM1is4SiE1kAD4mvw5zbTUpaRkLbTrmLzPumK5KN097K2g== X-Received: by 10.223.182.2 with SMTP id f2mr19182389wre.117.1521750065282; Thu, 22 Mar 2018 13:21:05 -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 q21sm9038610wmd.40.2018.03.22.13.21.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Mar 2018 13:21:04 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id C390210C03A5; Thu, 22 Mar 2018 21:21:03 +0100 (CET) From: Mathieu Malaterre To: Michael Ellerman Subject: [PATCH 15/19] powerpc: Add missing prototype Date: Thu, 22 Mar 2018 21:20:01 +0100 Message-Id: <20180322202007.23088-16-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180322202007.23088-1-malat@debian.org> References: <20180322202007.23088-1-malat@debian.org> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Malaterre , linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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); + /* Set owner of taken block */ extern int rh_set_owner(rh_info_t * info, unsigned long start, const char *owner);