Received: by 10.223.176.46 with SMTP id f43csp1678543wra; Wed, 24 Jan 2018 21:32:26 -0800 (PST) X-Google-Smtp-Source: AH8x225ZVfdxfrEnHQnL8hxaWYuK66C1MbVjeMyE9NW1tzEsmsaKvnQ/stA1Q/32bvnvGbWO/FUV X-Received: by 10.98.195.2 with SMTP id v2mr14730654pfg.141.1516858346300; Wed, 24 Jan 2018 21:32:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516858346; cv=none; d=google.com; s=arc-20160816; b=uFm67bj6jvuu9kT75d18MRjQkXA571VUmwGB2qHAwgGz1b8jvT9ABgOFw5mJWR5g6E Wc6GxGgaufEGiLae6tW4j/EgrjuCWSzE3455jV15MjhaC10mLx99lJGMbAPYIZMey66Z KJq0/SiwLEapCzDJ6cu9iUz+3MUiXVWT1n2Swnia2LBm5ra1QMhHSgCXSFHtCWj3J5uk 6dsvd6hdG5OS57ZgUAvlgMU9luBPhXTNhcTKqB85Ok6gE14dJK9ZTSBE439acOdRQ+Qm gizh7+eIR+u7sphto/CVh1CDFAF50LW1qLKtQMx35wjrOOVSDtJEKR35UyCrEXqxpVa+ ZDWw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dmarc-filter:arc-authentication-results; bh=BxejukIDON9np6VMN95h/bzf4iGIuoak0PSqH58fZxw=; b=M3s5hDWYkZn5i/JTcEukQ+d0lxVXE+rD0SJiJEG5TxbQL2VLhXnmD+Kn72muM1+yf9 kTj7sXlNeXgeWPtwbtCxKMO5mRZ5vtsH31oP+E7AlIiFKz9ePtg6wx6Nqut7egH7u0KI em4GZCp9NZXEcQs0OwEObaLJSv3LxDHVXUpBpC81e+w7a2WZXvjTEROwDPkwFgOaZ0EQ eMSZQU/AbFxpuIwQHrpE6uf7U9AgL6Vt0oosC/J49/x0SoGJkDZUYhOlZQ/Ea3DBLeXf KXQXZOsAuf2/0lGunpBri3Lriy4Da5qiafej5PhYni2HckCRO7dziuizrTzNGBNhfqds BQBQ== 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 y19si4017131pfa.188.2018.01.24.21.32.12; Wed, 24 Jan 2018 21:32:26 -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 S1751377AbeAYFaA (ORCPT + 99 others); Thu, 25 Jan 2018 00:30:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:42596 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751238AbeAYF35 (ORCPT ); Thu, 25 Jan 2018 00:29:57 -0500 Received: from localhost.localdomain (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 42A4F20856; Thu, 25 Jan 2018 05:29:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 42A4F20856 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 From: Masami Hiramatsu To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, Masami Hiramatsu , Ananth N Mavinakayanahalli , Anil S Keshavamurthy , "David S . Miller" , Jon Medhurst , Will Deacon , Arnd Bergmann , David Howells , Heiko Carstens , "Tobin C . Harding" , Linus Torvalds Subject: [PATCH 6/8] kprobes/arm64: Fix %p uses in error messages Date: Thu, 25 Jan 2018 14:29:32 +0900 Message-Id: <151685817205.3099.18079175391687728067.stgit@devbox> X-Mailer: git-send-email 2.13.6 In-Reply-To: <151685799071.3099.10383062804474021403.stgit@devbox> References: <151685799071.3099.10383062804474021403.stgit@devbox> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) 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);