From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A99F6C4741F for ; Mon, 28 Sep 2020 23:35:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80AC12100A for ; Mon, 28 Sep 2020 23:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727099AbgI1Xfb convert rfc822-to-8bit (ORCPT ); Mon, 28 Sep 2020 19:35:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:59748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbgI1Xfb (ORCPT ); Mon, 28 Sep 2020 19:35: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 D8C17235F7; Mon, 28 Sep 2020 22:15:36 +0000 (UTC) Date: Mon, 28 Sep 2020 18:15:35 -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: <20200928181535.56d7b2cb@oasis.local.home> In-Reply-To: <20200928180942.100aa6c8@oasis.local.home> References: <20200820091537.490965042@linuxfoundation.org> <20200820091539.592290034@linuxfoundation.org> <20200928180942.100aa6c8@oasis.local.home> 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 Mon, 28 Sep 2020 18:09:42 -0400 Steven Rostedt wrote: > 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. > Bah, no (tested the wrong kernel). You want this commit too: 10de795a5addd ("kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE") -- Steve