Received: by 10.223.176.5 with SMTP id f5csp403872wra; Sat, 27 Jan 2018 02:17:09 -0800 (PST) X-Google-Smtp-Source: AH8x224W/0GiS974BP7SFAiBBedNgfNOj15Op5PU6gU+EERyYMZUE2HJr5l3yEeSTmf1vKzJb46d X-Received: by 10.101.77.140 with SMTP id p12mr17264718pgq.195.1517048228954; Sat, 27 Jan 2018 02:17:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517048228; cv=none; d=google.com; s=arc-20160816; b=KRQZloWWCnNJ9rvbfvOOYkPgQmVYFknhrCyG7+CPVR8LFV+tsGl6KymoWDR3wGoRAl 8atDVb9jpnuMD3gq4cSF1QNXAyQvOSzC5r0f2XQSrsQqsdOlOqLYJvLhS9+SX42GTfxB oakiMPbB8927are7Po5F8SP4jn0y4re7BZfwuHOLkwe9HS6HsGJcJn3m4p6/L8+5SxK5 IWh+hfkqi9+EJmfxEX5GTDz8j7vqmKIQ9YVBcws8Jv5H1Zj7rl/m6kz/qx6CiSTVSwZy Kca53qII9/jUupjm1eGKFE69EOpA8Z8lhojslQpwoPEVLJGzCe3dPnweUdQYRkpl0Rxq nyKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date :arc-authentication-results; bh=0F0acZk5nuNE67iRUuZRnSUso9mJazyIWX482/fSY8A=; b=o3AY04Zly8/569EDzw8bVr9GNiRwIHiJGgXCO10ZRoCa79ii3ZfbgTNVwFEanSz3rw J9rFqQWzV0MF0pvuS8txCcqS6xtFNDq+ZANsU8HpgB1srh/gOrKzGIse93Fh/camns2Q bbk0A1n5a4Lp7PwErSjbY/4MfTvwbxGqtLY4xifPygZXI24lmreIiSJERb1SLuUIlIW0 ciU20LWc9PqVRGoYT6k0M//b44S+R9GTgE99SdFZkNVvX5BR3wbHtzFC3xhcxd+1k3rZ jlvIrqzV+IXWGp95VjeZl3o2FA0xC3wk9H+A9P15HXjVSxUtgy9/pPJNQHU46UFJMoRa ONBQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3-v6si2293214pld.492.2018.01.27.02.16.55; Sat, 27 Jan 2018 02:17:08 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752622AbeA0KQA (ORCPT + 99 others); Sat, 27 Jan 2018 05:16:00 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:56366 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751957AbeA0KP4 (ORCPT ); Sat, 27 Jan 2018 05:15:56 -0500 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0RAEJi5129846 for ; Sat, 27 Jan 2018 05:15:55 -0500 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 2frq698fvt-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 27 Jan 2018 05:15:55 -0500 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 27 Jan 2018 10:15:53 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 27 Jan 2018 10:15:48 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w0RAFmb657737354; Sat, 27 Jan 2018 10:15:48 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5C4914C040; Sat, 27 Jan 2018 10:09:49 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EB03E4C046; Sat, 27 Jan 2018 10:09:48 +0000 (GMT) Received: from osiris (unknown [9.152.212.94]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Sat, 27 Jan 2018 10:09:48 +0000 (GMT) Date: Sat, 27 Jan 2018 11:15:46 +0100 From: Heiko Carstens To: Masami Hiramatsu 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 , Will Deacon , Arnd Bergmann , David Howells , "Tobin C . Harding" , Linus Torvalds Subject: Re: [PATCH 8/8] kprobes/s390: Fix %p uses in error messages References: <151685799071.3099.10383062804474021403.stgit@devbox> <151685823207.3099.1804053958699756937.stgit@devbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151685823207.3099.1804053958699756937.stgit@devbox> X-TM-AS-GCONF: 00 x-cbid: 18012710-0040-0000-0000-000004095B57 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18012710-0041-0000-0000-0000260CEB85 Message-Id: <20180127101546.GA3915@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-27_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1801270138 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:30:32PM +0900, Masami Hiramatsu wrote: > 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"); Given that this change makes sense anyway, I just applied it to the s390 tree. :) Thanks!