Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1830658imm; Mon, 3 Sep 2018 10:32:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZgkBMi9YLBhfWnl5xrPxvJ+fLx0ArplR+loU6MTGHVmHOxJRDt9dEKf2wbTzqwOCQcrY9I X-Received: by 2002:a63:5c5e:: with SMTP id n30-v6mr27548642pgm.253.1535995935341; Mon, 03 Sep 2018 10:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535995935; cv=none; d=google.com; s=arc-20160816; b=HWPGlu66SOkxOmzp4FvHHB8D9TkVP+0vVHn+sCdjHgfyKmVwQi1En7xdzYFdvttUY7 DxHHNBKJbapui8lKVhaa3OsugrDG8jmBcXbPDKTY+Ko8uyqIyFg5bM2JOqvEtyAUFCHb vE1/xoGXr2OlU+acalT/UitBBVnIgrV0Yau0727c1Lk0mfFJOf/M+OtwmXRAVRsqdE1z U/mHpDg+cT1r2a6rivRC95+c68WGeqVYqSlC75TfSOCuVNX2cJs/gdDtSxBRpeHRlgtY fKe7F0imcjRExaEeSjYzouapSBCucjY/TGvvdUnLODarZXNP5xs2x6g5DyP78MUayw+6 Smaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=yTjfZRp5y/DI3huuiFt94aIvylkYPQ8RpLnKbvilzMw=; b=gUSegk6DOH7p64FpUvMCmc56KhUxWz/IQ65LeeTwuuORwjFtj1ppK/1CLwfX7QoliP MJ3HFsFHBUqTVASGq5XRTF+e39AwZiMOvQdb5bFBEY4Pg8Cq49FX8aJsd8RphNQNHOyW LEdBRyZJqDxKMIZhoCRFFHqT/G6w9n904diZEnhOiksohd/wEBXJF/m7H/0Ib7JYCfa5 yQBas6ZVBBWL+LilaGCfYM49OsiKR4UqH/kIVQXr5TbNQyPp5XD1uWdW512GnvTA49GE We6UAGUYLHRp0OKTg7Csf0oN+sbq56Ls7Ev7BKdA7+iCzo3s3SbTvbtjnWcYDbCLaBx/ 24pw== 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 32-v6si18632594plg.390.2018.09.03.10.31.59; Mon, 03 Sep 2018 10:32:15 -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; 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 S1730980AbeICVsV (ORCPT + 99 others); Mon, 3 Sep 2018 17:48:21 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46180 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730923AbeICVsT (ORCPT ); Mon, 3 Sep 2018 17:48:19 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9B445CF4; Mon, 3 Sep 2018 17:27:11 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Masami Hiramatsu , Ananth N Mavinakayanahalli , Anil S Keshavamurthy , Arnd Bergmann , David Howells , "David S . Miller" , Heiko Carstens , Jon Medhurst , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Thomas Richter , "Tobin C . Harding" , Will Deacon , acme@kernel.org, akpm@linux-foundation.org, brueckner@linux.vnet.ibm.com, linux-arch@vger.kernel.org, rostedt@goodmis.org, schwidefsky@de.ibm.com, Ingo Molnar Subject: [PATCH 4.14 147/165] kprobes/arm: Fix %p uses in error messages Date: Mon, 3 Sep 2018 18:57:13 +0200 Message-Id: <20180903165704.182995394@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165655.003605184@linuxfoundation.org> References: <20180903165655.003605184@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Masami Hiramatsu commit 75b2f5f5911fe7a2fc82969b2b24dde34e8f820d upstream. Fix %p uses in error messages by removing it and using general dumper. Signed-off-by: Masami Hiramatsu Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Cc: Arnd Bergmann Cc: David Howells Cc: David S . Miller Cc: Heiko Carstens Cc: Jon Medhurst Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Thomas Richter Cc: Tobin C . Harding Cc: Will Deacon Cc: acme@kernel.org Cc: akpm@linux-foundation.org Cc: brueckner@linux.vnet.ibm.com Cc: linux-arch@vger.kernel.org Cc: rostedt@goodmis.org Cc: schwidefsky@de.ibm.com Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/lkml/152491905361.9916.15300852365956231645.stgit@devbox Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/arm/probes/kprobes/core.c | 4 ++-- arch/arm/probes/kprobes/test-core.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) --- a/arch/arm/probes/kprobes/core.c +++ b/arch/arm/probes/kprobes/core.c @@ -291,8 +291,8 @@ void __kprobes kprobe_handler(struct pt_ break; case KPROBE_REENTER: /* A nested probe was hit in FIQ, it is a BUG */ - pr_warn("Unrecoverable kprobe detected at %p.\n", - p->addr); + pr_warn("Unrecoverable kprobe detected.\n"); + dump_kprobe(p); /* fall through */ default: /* impossible cases */ --- a/arch/arm/probes/kprobes/test-core.c +++ b/arch/arm/probes/kprobes/test-core.c @@ -1517,7 +1517,6 @@ fail: print_registers(&result_regs); if (mem) { - pr_err("current_stack=%p\n", current_stack); pr_err("expected_memory:\n"); print_memory(expected_memory, mem_size); pr_err("result_memory:\n");