Received: by 10.223.176.46 with SMTP id f43csp265367wra; Thu, 25 Jan 2018 21:41:41 -0800 (PST) X-Google-Smtp-Source: AH8x224FGXpNPiAW2VeIhYq003n1XYhku6oBYUm5XhrLnBhQyvOHHtikARuN8umlbtpgEQHwBSsf X-Received: by 2002:a17:902:868f:: with SMTP id g15-v6mr10993259plo.137.1516945301698; Thu, 25 Jan 2018 21:41:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516945301; cv=none; d=google.com; s=arc-20160816; b=QmXHGbZ07QLeIefYCkOmEEGinHQHDTa6rq+C2qcoNpBYfuH875NWwCERXbX+EM8aLN 6H4JeWFmeWpm7LDGGsT2jrtCxVMR+QvG8m56u0pi8YXXGYKqVk0CQoKhZqylxHamEsjY WtAnjnHDSPtkb2huh8uUyGUIycA/99BO+2GH8eY20vMaDnuqE1TfwlMoKeio8Ed8oP1m h3fCSsz8VDvjKwunSszQ6rQPre+x4PLnO+M1nV/YYPmaTpNpvhhFN37iP1jleBHQK2Pl Dn2o4H1WvGe8AD8luLueKxDZGRNyxhSnfLtWAehHJBh3atGNCQVtk1/d0rOutA5ZMb6+ KWzA== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=hH09KjVZ3tZ58a4tEzBblU7egHvbaBCmf7WML6I9/ZE=; b=LJYwCJvhZnIdcCaea12Fa5L6tEAWG+BCQdXY1net+QddzZVPEifh3y5NvJHuvbGCxe KNUmLrmdjgcIgMKOacFhYEMbLCy0T/GP2HKcA4lwRX5SBVy/eu/bn7XsIuH8NUhIWyci tRm+FyRiWhcnDs59ShnUHc11kTeYLNikdUi2mcF/6CBIQEEKzPfvejHc7Z1mNxfnvii6 fL7Lh8AJALv0OwOdxLAXf1yE77gqYgJINGkinY6sTcu9wJIYPkcRCKrjT1UFn4Fgw4eJ jBSNn7a68JuIbLM4Shmk0aSuJot7767HgbrGDLfqSrVtYYFOyQHN2Sc+nQWrSaYF2id+ Hi5g== 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 m15-v6si3302690pln.714.2018.01.25.21.41.27; Thu, 25 Jan 2018 21:41:41 -0800 (PST) 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 S1751786AbeAZFlB (ORCPT + 99 others); Fri, 26 Jan 2018 00:41:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:37458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751750AbeAZFk7 (ORCPT ); Fri, 26 Jan 2018 00:40:59 -0500 Received: from devnote (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2F8B921796; Fri, 26 Jan 2018 05:40:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F8B921796 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mhiramat@kernel.org Date: Fri, 26 Jan 2018 14:40:53 +0900 From: Masami Hiramatsu To: Will Deacon Cc: catalin.marinas@arm.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, Ananth N Mavinakayanahalli , Anil S Keshavamurthy , "David S . Miller" , Jon Medhurst , Arnd Bergmann , David Howells , Heiko Carstens , "Tobin C . Harding" , Linus Torvalds Subject: Re: [PATCH 6/8] kprobes/arm64: Fix %p uses in error messages Message-Id: <20180126144053.82268e050f3fba636f6845df@kernel.org> In-Reply-To: <20180125164230.GC22963@arm.com> References: <151685799071.3099.10383062804474021403.stgit@devbox> <151685817205.3099.18079175391687728067.stgit@devbox> <20180125164230.GC22963@arm.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Jan 2018 16:42:31 +0000 Will Deacon wrote: > On Thu, Jan 25, 2018 at 02:29:32PM +0900, Masami Hiramatsu wrote: > > Fix %p uses in error messages by removing it because > > those are redundant or meaningless. > > > > Signed-off-by: Masami Hiramatsu > > --- > > arch/arm64/kernel/probes/kprobes.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > Acked-by: Will Deacon > > I guess Catalin can just pick this one up via arm64. OK, thanks! > > Will > > > diff --git a/arch/arm64/kernel/probes/kprobes.c b/arch/arm64/kernel/probes/kprobes.c > > index d849d9804011..34f78d07a068 100644 > > --- a/arch/arm64/kernel/probes/kprobes.c > > +++ b/arch/arm64/kernel/probes/kprobes.c > > @@ -275,7 +275,7 @@ static int __kprobes reenter_kprobe(struct kprobe *p, > > break; > > case KPROBE_HIT_SS: > > case KPROBE_REENTER: > > - pr_warn("Unrecoverable kprobe detected at %p.\n", p->addr); > > + pr_warn("Unrecoverable kprobe detected.\n"); > > dump_kprobe(p); > > BUG(); > > break; > > @@ -521,7 +521,7 @@ int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) > > (struct pt_regs *)kcb->jprobe_saved_regs.sp; > > pr_err("current sp %lx does not match saved sp %lx\n", > > orig_sp, stack_addr); > > - pr_err("Saved registers for jprobe %p\n", jp); > > + pr_err("Saved registers for jprobe\n"); > > __show_regs(saved_regs); > > pr_err("Current registers\n"); > > __show_regs(regs); > > -- Masami Hiramatsu