Received: by 10.223.176.46 with SMTP id f43csp1679182wra; Wed, 24 Jan 2018 21:33:05 -0800 (PST) X-Google-Smtp-Source: AH8x227zepWWZX1FZ3YxYRvu7XFJe9ClrVOrKA3OKywBq/w/ue1E0nss7WFFt8JVGiCXAprx8aAZ X-Received: by 2002:a17:902:8a8a:: with SMTP id p10-v6mr9914998plo.261.1516858384981; Wed, 24 Jan 2018 21:33:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516858384; cv=none; d=google.com; s=arc-20160816; b=Q0QFMFbVS4j2PDj0A71PZl+fEt2IlFSTFymeOUb66IZSghGPTOlWV88VNtSf+0howl obnIgG0ovLd032VnjtO9CD7CLQUhBP4fX6gVbxoxMbPA605wnTiQMQ6nYU/p5EV0MmUg PTWhlxKo0xaqQTg0cwn0i+hjHAyTx8ROGCHjxoWLtG2wfR0pEeljXEyGasII9RHWQmeR FTIZIneFPaipPqsPCGQhhL44KbimzQXSK4LbJRexDA+h/45mnMbr5cs+zS42hvdJ19Js WDfd9lycEGn9TD9VMmvP7IHUNS4IL5iSqVycACotj7fK0SVBo0jZM57q/uBTHYMKrtIG AAzA== 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=7Nja7zL3sdocsI1HkGlIHscbovRxD+4WVFozjs/T/hk=; b=Ijqnd6/2MSqVDxlZYqbmWe210gxJr9zO0Tft51PdeVL0RJ06G+ZkDO3m5/SN7PIWso R8ng+PF7D5NkUZ9uOoK4Y0Zask31+WBjhoM6ACN6rg4jsGaHspGC27TSyR+n8duf1djP mNt1cK4LxEtesFacSwG5Eq76Op/01p6WMaVtAMe5/Q2W7tRdqnZQeKzjFjWYJKZXVWbs Ywb5r6zE9RnGz7ViFSgxbzKhh6trBhZnxCMBfZeJ4m9CkB0ezndUs3AYXMhvIqLEFxD4 aCASBUibojOsrptEL5Uw9s4Z+wA9yblfzD0eOQ9vYn4kTTd8kvaDDbbpTri3BaXv7+Eg KiVA== 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 l8-v6si1449931pls.65.2018.01.24.21.32.51; Wed, 24 Jan 2018 21:33:04 -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 S1751187AbeAYFa6 (ORCPT + 99 others); Thu, 25 Jan 2018 00:30:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:42872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbeAYFa4 (ORCPT ); Thu, 25 Jan 2018 00:30:56 -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 1CC4F21795; Thu, 25 Jan 2018 05:30:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CC4F21795 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 8/8] kprobes/s390: Fix %p uses in error messages Date: Thu, 25 Jan 2018 14:30:32 +0900 Message-Id: <151685823207.3099.1804053958699756937.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 Remove %p because the kprobe will be dumped in dump_kprobe(). Signed-off-by: Masami Hiramatsu --- arch/s390/kernel/kprobes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c index af3722c28fd9..df30e5b9a572 100644 --- a/arch/s390/kernel/kprobes.c +++ b/arch/s390/kernel/kprobes.c @@ -282,7 +282,7 @@ static void kprobe_reenter_check(struct kprobe_ctlblk *kcb, struct kprobe *p) * is a BUG. The code path resides in the .kprobes.text * section and is executed with interrupts disabled. */ - printk(KERN_EMERG "Invalid kprobe detected at %p.\n", p->addr); + pr_err("Invalid kprobe detected.\n"); dump_kprobe(p); BUG(); }