Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3954271img; Mon, 25 Mar 2019 23:23:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTVjKECFmU6MOy7tuDvCCh4mST5nahiVJFD2us1eyDqs1EbpFptZ4OAunO/eF0sWaAOjcv X-Received: by 2002:a65:65c4:: with SMTP id y4mr27132538pgv.305.1553581424419; Mon, 25 Mar 2019 23:23:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553581424; cv=none; d=google.com; s=arc-20160816; b=wkEiPEC1CQnnPequmegrJ3zdl0VgSvWtEGBmAJI3dpgt+CO1+qvRyJ27odHKYLyvnO epfU1pi3euvJAMtjdjVw5cwRnnZMV36SPYa9MyJ1RceQ9cGGgTTflDbJzSLknqikJxhS BO+U2ybRIkp9grgf2Rfpump3ut4Q+cyFCqFEHS+6iGUYLJXAQfdd7yom1oC6ITo6A57s CzXfgMNaC06JBI3oDqLf+UGdo3afKJNA58H+4S/11vF2MrSn9IYugQC8/NQ/mT+tWGPz VkBjHBFn0vgNZimVXBjEnIBgVT9TkSFecrJ8uPSP7tZuxbLu33+5rPrHDQ3Ru0DTwBmH Zn7g== 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=8IItZYW8vabpMo1rG9cZhGmKmuBvkmGJgF2kWvvF/bc=; b=rNnrB5/bvOdZB3uNycDuMvt6OGnPv/KHeCl21nLMprF85TCKvtU82wUWZXh1dsvnfM /S4u2QAOXKMDK09S78FC1/N6/BVxFctMbExccuXa+WAzuXqOKGfTTs0+yUqULgKLXCIL GlF6EDHp1lxf4LmNMG+OjflsUDNQBjIipR8OqzBv/oJshRVoNhAxwUQKqBzCa1CBWA8+ 1Gl5u/dHl0RaIdzM1NhQ7u2l6x57BrshZu/IGj7qmMkBh7JUMppJhRDNbnuNWyTWkgKv rsKWu2RnZHNHfW021DxSgaoFOpXa4P2qaaRY8n4ybBTZt9Wjp7uZZtoItgPFJBNuHJIt +Q6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=Cw1FdnRy; 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 p10si15248215pgb.222.2019.03.25.23.23.26; Mon, 25 Mar 2019 23:23:44 -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=Cw1FdnRy; 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 S1730481AbfCZGWv (ORCPT + 99 others); Tue, 26 Mar 2019 02:22:51 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:48420 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbfCZGWu (ORCPT ); Tue, 26 Mar 2019 02:22:50 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44T1Jm2r4qz9v25c; Tue, 26 Mar 2019 07:22:48 +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=Cw1FdnRy; 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 NbAEM5Jsbpcq; Tue, 26 Mar 2019 07:22:48 +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 44T1Jm1mY5z9v08b; Tue, 26 Mar 2019 07:22:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1553581368; bh=8IItZYW8vabpMo1rG9cZhGmKmuBvkmGJgF2kWvvF/bc=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=Cw1FdnRyDUu564rZJy34OSIXMVjupHT0qjyiR3BIdzSSDW2eAW6XWAWrrji3upcaM hA/0QhAN8RqRhpEjxr8Q5hX8UgwvZwtTEpO+ZOB5paf4kETq7usSwmUWEAVV5kGiNn B+9J5Vv7L+t96pxirYc8xXgcpfKhNCdo1k6DM3gI= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 115208B77C; Tue, 26 Mar 2019 07:22:49 +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 u6Sml1DhczSp; Tue, 26 Mar 2019 07:22:49 +0100 (CET) Received: from po16846vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E515B8B74C; Tue, 26 Mar 2019 07:22:48 +0100 (CET) Received: by localhost.localdomain (Postfix, from userid 0) id BA2E369D61; Tue, 26 Mar 2019 06:22:48 +0000 (UTC) Message-Id: <9f61800c337739978e27573eecf131232653253b.1553581290.git.christophe.leroy@c-s.fr> In-Reply-To: <670fb3e35793383652b961458c47ce865736a65f.1553581290.git.christophe.leroy@c-s.fr> References: <670fb3e35793383652b961458c47ce865736a65f.1553581290.git.christophe.leroy@c-s.fr> From: Christophe Leroy Subject: [PATCH v2 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: Tue, 26 Mar 2019 06:22:48 +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 --- v2: no change 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