Received: by 10.223.176.46 with SMTP id f43csp2362041wra; Thu, 25 Jan 2018 08:43:18 -0800 (PST) X-Google-Smtp-Source: AH8x224Q+80Zhv6FaIWieU66BL7Kf/oD96K2di0gxf/ChVkhT6Mur6azhl0VbgGeSn3QXNlBcVAN X-Received: by 10.99.112.75 with SMTP id a11mr14171706pgn.47.1516898598199; Thu, 25 Jan 2018 08:43:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516898598; cv=none; d=google.com; s=arc-20160816; b=zrmV2Yfi53Ue8c1c3Jel6rfSAhhZ0YxOqaidmfBaAqap+gNh27sgqDlm4f+XNMkAN3 HHwHG13Zeewjt9VUlPFb051+TgGq/VS9JFBomRnzByMq/J7r5gU+h1gqmpwvqWQNg7Rr 6ni12BCHM3Dz16bTTFqSiINVp4Tltpisy67RXmueTJw5pMRsFRkvTqyijV1QiJL/vKyp IxhQRe/KYm1weS4D+xAc3JbDO7BF7TzP2JFxmZjmKuYZjRvp34mYFrkxmvvq9WlZ+Yxi G/o9cDC3qTeHcOKMQZ1AtCe+VOvwpGavfv1QbcXEEHnFAAqOeVL6nWRVhY5+DRsiMLqb ROXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=kwv86RhJID0AAJNxjEWZ31rZxs8FwROREyZt3ErrFew=; b=xFka3hVkXGXBB2L7XH99fzQywvucpXaed4NKmVcgHlwM8TjFzNSo5BgRFfq8JWiws6 pICWB5XcBAE7X8NW3zhC1bfNQeSTIwBE1XY8wMZ7sROPvYonwk9I5CUezZOhFGQGyA20 Dr4dDfAZ3e7OG84GGojyVEy8FBjU14udiRpfta27fD0Sph0Zg0ETUmOFAAe2XLC/GsAL 0WSpGp9pUe4uXRi2LWpdIRWDazp7yBkuRTL8uo9XC7bCz4Zem1BgiuLd+GU4C/6GUB8J ebbqqwUcUbU1TntWBMBgzF2KInTN3F2AQmao7pVy0kQrFGzW4nmZGRW4gG5D0V1RiEcW 9E+w== 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 z185si1752059pgz.694.2018.01.25.08.43.03; Thu, 25 Jan 2018 08:43:18 -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 S1751258AbeAYQmd (ORCPT + 99 others); Thu, 25 Jan 2018 11:42:33 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:37742 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751112AbeAYQmc (ORCPT ); Thu, 25 Jan 2018 11:42:32 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ECDAA1435; Thu, 25 Jan 2018 08:42:31 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BDEED3F53D; Thu, 25 Jan 2018 08:42:31 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 21ED91AE181F; Thu, 25 Jan 2018 16:42:31 +0000 (GMT) Date: Thu, 25 Jan 2018 16:42:31 +0000 From: Will Deacon To: Masami Hiramatsu , catalin.marinas@arm.com Cc: 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: <20180125164230.GC22963@arm.com> References: <151685799071.3099.10383062804474021403.stgit@devbox> <151685817205.3099.18079175391687728067.stgit@devbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151685817205.3099.18079175391687728067.stgit@devbox> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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); >