From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626AbeA0KQA (ORCPT ); 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 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 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!