Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp321297img; Wed, 20 Mar 2019 01:07:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxphxloKFCaSZspSssSuyFNW7BgsWyQZu2a4TodEub124sXEJKZu3+OA2x6e2dvCKM8AZHn X-Received: by 2002:a63:e303:: with SMTP id f3mr165953pgh.374.1553069257967; Wed, 20 Mar 2019 01:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553069257; cv=none; d=google.com; s=arc-20160816; b=FV9yBnl2vObvJNygwv3MXscQBOYM/U0HRgH7a8KtIHpj3OvzIpArvAtC50qQoOjyG3 jD228SOhJYtmuOYX4pSJHmYpypkYHM+HeOlG/PZNCmK6GUE/dY7WQYVo4yKY1sk8X+le aDuVeTgz3M3z32OyE36hicChZP3pwZn7itlEfxeoMv4gJ+6SvhF1RtPrOZhuBkUUCK2s XC4+JLp6zaXIGyIevx/xbK0/WCQO3hc4THKm5r0vxkPJ+aLUmV6T7Bho3Fo+6maMmoVh oyRXC8O3suqj35UclY4Z2GCDSJ3mDMHw04fm5CHZwj10qgWnP1f/iAknfQ/W4i0//NCK XKag== 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:references :in-reply-to:message-id:dkim-signature; bh=ojpYivvnzd/xdpAwdvwKku22o+9yC4Pjbi1/EclCr8U=; b=eavlhbP0qRhBCQavDk811ts69xqq6luy4iIL59qe8Z8cdhP9KPvCp6TjIyjyV+jPF1 mo8qQWtVPmu/vMfnBOoWkQT4zqYINhjTaKy3GrpQFtJv8UjLg9JG+KvEKljVSstGceOy s2mfxgCW2ZSYBhXIj0l5EHPKzwG+3aAnx3KnulpTCv0+jRytZex7rE5Eje+NKn46fusT UhRfMHu/Gx14uQAcJnt/AzHHfb9elUz0OLlYbggjCyW032yFOcryaztnukAz+ZrJE+d3 u2zud7bjm0ulji0/MXxBYwV4Y1fDTAuXT8FB5uyp/tX87xvPJ8knQOiN0ENO9PeylCbA 6ddA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=ZpUU6kNE; 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 g8si1130763pgd.52.2019.03.20.01.07.22; Wed, 20 Mar 2019 01:07:37 -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=pass header.i=@c-s.fr header.s=mail header.b=ZpUU6kNE; 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 S1727711AbfCTIGk (ORCPT + 99 others); Wed, 20 Mar 2019 04:06:40 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:25205 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727438AbfCTIGk (ORCPT ); Wed, 20 Mar 2019 04:06:40 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44PMvL16Slz9v0sH; Wed, 20 Mar 2019 09:06:38 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=ZpUU6kNE; dkim-adsp=pass; dkim-atps=neutral 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 KlrkXiYREPx0; Wed, 20 Mar 2019 09:06:38 +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 44PMvK75DBz9v0sF; Wed, 20 Mar 2019 09:06:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1553069198; bh=ojpYivvnzd/xdpAwdvwKku22o+9yC4Pjbi1/EclCr8U=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=ZpUU6kNEhxF+MHjv4DGccRhPqTByXAcdFfRkVY4WTtSNyf8GW1O60A4z7f4jTx3H6 JAfffYCBhQYirDzVGNyj1b+UizgvlKKvJm+iQs8/8FbTEit/o7hee21GtjMv/tZdnN WSdkz1YIZoZU+JqDhsGe7mLvkj23SdoHXXe+/bYk= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E66A08B8FE; Wed, 20 Mar 2019 09:06:38 +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 uVY4vAfYH4uB; Wed, 20 Mar 2019 09:06:38 +0100 (CET) Received: from po16846vm.idsi0.si.c-s.fr (unknown [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id CA6928B8F8; Wed, 20 Mar 2019 09:06:38 +0100 (CET) Received: by po16846vm.idsi0.si.c-s.fr (Postfix, from userid 0) id B73EE63AF9; Wed, 20 Mar 2019 08:06:38 +0000 (UTC) Message-Id: In-Reply-To: <67ed3a31a16b9ece870ec55139e83c86d4d9ce60.1553069097.git.christophe.leroy@c-s.fr> References: <67ed3a31a16b9ece870ec55139e83c86d4d9ce60.1553069097.git.christophe.leroy@c-s.fr> From: Christophe Leroy Subject: [PATCH 2/3] powerpc/32s: don't try to print hash table address. To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Wed, 20 Mar 2019 08:06:38 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Due to %p, (ptrval) is printed in lieu of the hash table address. showing the hash table address isn't an operationnal need so just don't print it. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/ppc_mmu_32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/mm/ppc_mmu_32.c b/arch/powerpc/mm/ppc_mmu_32.c index 302409fcfbc7..088f14d57cce 100644 --- a/arch/powerpc/mm/ppc_mmu_32.c +++ b/arch/powerpc/mm/ppc_mmu_32.c @@ -345,8 +345,8 @@ void __init MMU_init_hw(void) __func__, Hash_size, Hash_size); _SDR1 = __pa(Hash) | SDR1_LOW_BITS; - printk("Total memory = %lldMB; using %ldkB for hash table (at %p)\n", - (unsigned long long)(total_memory >> 20), Hash_size >> 10, Hash); + pr_info("Total memory = %lldMB; using %ldkB for hash table\n", + (unsigned long long)(total_memory >> 20), Hash_size >> 10); /* -- 2.13.3