Received: by 10.223.176.46 with SMTP id f43csp1678947wra; Wed, 24 Jan 2018 21:32:51 -0800 (PST) X-Google-Smtp-Source: AH8x224DY5uYL9/k0CuSicJSmfnaifl+T9raRdXbTCcYIfpowBYrdJANqSNbKrkvwRahYexOpmLg X-Received: by 2002:a17:902:4e25:: with SMTP id f34-v6mr1159918ple.68.1516858371440; Wed, 24 Jan 2018 21:32:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516858371; cv=none; d=google.com; s=arc-20160816; b=m5Oj8P5ph9AGc2rkGDG/2d1PF6Xp3qp2dEMVNDcNp/ZRFt1mNrO69SnQX2YbkT84Og 8/dr6e3B1R5UfpKvw0L6OlmEDywWoagI05ahXpTUNvCrRNAGOURLEhbT6tzQhH2OsTk2 wIdSd+rWkvuAwMyvuyEVhkKlCekpjLKKPP54JgFUfYqbgjYhF3s8zVLaiC8MfuuFalvh XH9rK1r03Doc1QwrXhUDmuy1bau7x1srZcwWdaaNznVMy9/41gS3qqNzpBO5U5ID3z7B LHHdZh5i16+j4+CybD4fWDc7x83lVzX2w8A9+K3rd7W5rvBgIuaaMN0lfbTsDroyhK7d sTTw== 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=fgUZiF5lgq+kjJ5bRfKdiPSCUUpmlx+ULikhV2Uw9EA=; b=VtqliJgw6kQ9D2QFIJm+V7839hsgOOi3QZV3zD8oJUMJRg7oMT1eteO8pY8uMGxl+u 5kpB0OE7NlGpzRParBO6kPv6tEXVwmIbwU8eUh4d6xDB5LmsstbN6lN3VYTJDuLOgm+J pjrbMgtJHWlOKk0uy2t0kzSTK1R0ZYOrBF8Lip+zGR797g1w8hVpbVla3DsAKXiFSaNg Sw3QXmH/tbndpG0VXO163gCiaY8e/94UqGbUzwxjHynSCDv6H/yVMJR62UKpv71X7ttc vLzkiqDll9pCkEptgBJcIw1EQEJKMYvDepB/hYNr6tEJQkGEaLO07qSZWiER24twLgZn KCng== 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 q1-v6si1360855plr.772.2018.01.24.21.32.37; Wed, 24 Jan 2018 21:32:51 -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 S1751386AbeAYFaa (ORCPT + 99 others); Thu, 25 Jan 2018 00:30:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:42744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972AbeAYFa1 (ORCPT ); Thu, 25 Jan 2018 00:30:27 -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 603E421785; Thu, 25 Jan 2018 05:30:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 603E421785 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 7/8] kprobes/MN10300: Fix %p uses in error messages Date: Thu, 25 Jan 2018 14:30:02 +0900 Message-Id: <151685820218.3099.4909961842360559942.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 Replace %p with %px because it is right before BUG(). Signed-off-by: Masami Hiramatsu --- arch/mn10300/kernel/kprobes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mn10300/kernel/kprobes.c b/arch/mn10300/kernel/kprobes.c index 0311a7fcea16..e539fac00321 100644 --- a/arch/mn10300/kernel/kprobes.c +++ b/arch/mn10300/kernel/kprobes.c @@ -632,9 +632,9 @@ int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) if (addr == (u8 *) jprobe_return_bp_addr) { if (jprobe_saved_regs_location != regs) { - printk(KERN_ERR"JPROBE:" - " Current regs (%p) does not match saved regs" - " (%p).\n", + pr_err("JPROBE:" + " Current regs (%px) does not match saved regs" + " (%px).\n", regs, jprobe_saved_regs_location); BUG(); }