Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp845005yba; Fri, 26 Apr 2019 09:38:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4ZyCkK/hl3mcck20kxC0ebwWVCg2tQJuKrakZrEa3fncs+tF8F6kWSa/b1BWnYLRQGnOC X-Received: by 2002:a63:1048:: with SMTP id 8mr44167698pgq.70.1556296722455; Fri, 26 Apr 2019 09:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556296722; cv=none; d=google.com; s=arc-20160816; b=qqlpui4x/mXsK2ubw69we6WC65gyRM13bQmHMH0hRjV92ehiVMO/4+tyD44x7WG4tm /03J/dTEVQBDKPTvhJJjhTM1DPhJzmvQ/ZHGXvI2NfQYib9mo8TZ7hL1cdLFpLDc+pw8 CfkNMdG+FsGcWG2LiNZbsi7mDkgrSFmnxZ4BKUWvh1JTSMnuk8Po2T7WQVcoJwlZl3S/ 9sp//qWh745PBUNDz81reV8szpTJVgxCPQ+eyB8bpCznRQpZwNQ+f5gNgeFLHGGBBo3t Wvwa+eYJAAhSjZV5JRkuVovEtkzxjPevABw/Q/H6pUvs9pJ1/RYCxnE2coKWB6p33TR5 +KHQ== 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=Me8MRiBVBQiSLqO5pJxA3Rt0BYwIfdx8knhHIdMg09A=; b=MXiMlOtfGnXxN9O5XK1lyicb4U/LS4Dfb7KHcNpLM8pNqlJLqkdTWDdakOe76U7+4u G3b6RUJ/5Ja+GGaSaibX/U+RObQW5ipfN9PRyImCrthe1mX7tSm8umqOuIZ7r6BHkOL3 iYofu0aLcUnBcQl2tHIba1CRuQcJWBeFfnA5MQqPPWhjyQ4FElldL3GJAv3vabocr5Ti M2DDYCWTZvpWB9S/aPaDUiIOYTq8qsL5+8zrfAZpExpqOSEM7UQqq76Ayb2yD5Ar+OXm 4C/kM06sMLj1EIbguwwG+SpWZmdp2z6v09UT+GKRpiAV3iGFFepBDCRisZ8uoLngMn4C 4rwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b="Sl9rI/oZ"; 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 w9si5013383pfn.202.2019.04.26.09.38.27; Fri, 26 Apr 2019 09:38:42 -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="Sl9rI/oZ"; 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 S1726415AbfDZQgm (ORCPT + 99 others); Fri, 26 Apr 2019 12:36:42 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:10895 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726268AbfDZQgj (ORCPT ); Fri, 26 Apr 2019 12:36:39 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44rKSh50fqz9v0yn; Fri, 26 Apr 2019 18:36:36 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=Sl9rI/oZ; 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 wuG5iaQirD7P; Fri, 26 Apr 2019 18:36:36 +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 44rKSh3x6Gz9v0yk; Fri, 26 Apr 2019 18:36:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1556296596; bh=Me8MRiBVBQiSLqO5pJxA3Rt0BYwIfdx8knhHIdMg09A=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=Sl9rI/oZbaame766iWQPPn7q/7KYZy7FiGJja/HNyN2FlteErmK0I+w+QHzWntPuA DJtfiH0xW0PCS/rB+lTB09g3KtecbF2mZrNSTZP+02UXMsdN789aCH2ZXWUTRJtA/D NV72UDEAnmtxYCFRtXe4pBtAELgn2y7gcBGPJ+YA= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 23C988B950; Fri, 26 Apr 2019 18:36:38 +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 FVq9YcvIo3uZ; Fri, 26 Apr 2019 18:36:38 +0200 (CEST) Received: from po16846vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.231.6]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0C6DE8B82F; Fri, 26 Apr 2019 18:36:38 +0200 (CEST) Received: by po16846vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 02A48666FD; Fri, 26 Apr 2019 16:36:37 +0000 (UTC) Message-Id: In-Reply-To: <809c41e209068baf1045edbf154cc8d25c520d1e.1556296364.git.christophe.leroy@c-s.fr> References: <809c41e209068baf1045edbf154cc8d25c520d1e.1556296364.git.christophe.leroy@c-s.fr> From: Christophe Leroy Subject: [PATCH v3 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: Fri, 26 Apr 2019 16:36:37 +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 v3: 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 061feab884a6..c908538720ac 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