Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3382314pxk; Mon, 28 Sep 2020 16:29:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiepgy6zShE+2JEmBOGm52jbFLpCM4Fn8tMV629JUbXZMilAEOkwapoEg47PB3HRoTHZi+ X-Received: by 2002:a05:6402:1697:: with SMTP id a23mr371292edv.195.1601335786688; Mon, 28 Sep 2020 16:29:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601335786; cv=none; d=google.com; s=arc-20160816; b=wN5N6eewVai9Syb/coag1j9XfTF1sNj3UvUCkoi3wvAH3f/o1A0of0SKWONhmkH8px wB9V6EPEX4wbJQIj560sTYXXvOPmI/iBtW76fADuswl+f9mQlnBofj+XGngoPij5hDEz NJYIf8XfoeH8O2m8cqBR8WK5KGV3Pw71bQ++/pccEQKkRzNchEy5JPezxrhFwVGJzBXq YQFY/OqRZRUi6vmLqNBAyhxdL4JhTF3BWaLARe4B/8mM6HjLZkAxhNG9CI2iVGh7a7ZC GG8Y/F7euttbhEMvEr563b7CWmehMq2J9G+MUcond9cZOgo1gjWWiJsNuaZwyqfyROHz 2Yng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=ImrhEEhZ1nhM6q03nnYVizMPNrXStv/KJNad6t8VFxE=; b=gkx+83TT26IUq2GAzCDQAoAP3lbji4epx2qGo0oC6I0ZW1Gl59+zTsMSHdvB7WQcSp b/3UW7Rj4cMY0BuJ19L8zsOy/MzUOfGI42s6rrdiPwC6z4/GLPU66XID4fjephieZi85 QYL9qOw4XRtRr1XETCHN1x0MmEkdFhMK2dPyPLLc78nEYKD/YNugcn3/JBRciEiX64Fz ZL4oSIWLlojezQbUYn9gGNb+K2lQKjl3vT3ImuZVndQ9ypor8xfUXsWGttvGnMFbVtio zJLbRFCCG7i8dk63PEfqeYZm2u7A7H4fbqBJMFHOqK631PUvsTdbaaC1LcK0oMfyL0T8 aCkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo3si1558712ejb.551.2020.09.28.16.29.14; Mon, 28 Sep 2020 16:29:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726891AbgI1XZb convert rfc822-to-8bit (ORCPT + 99 others); Mon, 28 Sep 2020 19:25:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:48106 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726369AbgI1XZb (ORCPT ); Mon, 28 Sep 2020 19:25:31 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 BD7BE221EF; Mon, 28 Sep 2020 22:09:43 +0000 (UTC) Date: Mon, 28 Sep 2020 18:09:42 -0400 From: Steven Rostedt To: Naresh Kamboju Cc: Greg Kroah-Hartman , open list , linux- stable , Masami Hiramatsu , Muchun Song , Chengming Zhou Subject: Re: [PATCH 4.19 38/92] kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler Message-ID: <20200928180942.100aa6c8@oasis.local.home> In-Reply-To: References: <20200820091537.490965042@linuxfoundation.org> <20200820091539.592290034@linuxfoundation.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Sep 2020 01:32:59 +0530 Naresh Kamboju wrote: > stable rc branch 4.19 build warning on arm64. > > ../kernel/kprobes.c: In function ‘kill_kprobe’: > ../kernel/kprobes.c:1070:33: warning: statement with no effect [-Wunused-value] > 1070 | #define disarm_kprobe_ftrace(p) (-ENODEV) > | ^ > ../kernel/kprobes.c:2090:3: note: in expansion of macro ‘disarm_kprobe_ftrace’ > 2090 | disarm_kprobe_ftrace(p); > | ^~~~~~~~~~~~~~~~~~~~ Seems to affect upstream as well. -- Steve