[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200928181535.56d7b2cb@oasis.local.home>
Date: Mon, 28 Sep 2020 18:15:35 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
open list <linux-kernel@...r.kernel.org>,
linux- stable <stable@...r.kernel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Muchun Song <songmuchun@...edance.com>,
Chengming Zhou <zhouchengming@...edance.com>
Subject: Re: [PATCH 4.19 38/92] kprobes: Fix NULL pointer dereference at
kprobe_ftrace_handler
On Mon, 28 Sep 2020 18:09:42 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> On Tue, 29 Sep 2020 01:32:59 +0530
> Naresh Kamboju <naresh.kamboju@...aro.org> 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
Powered by blists - more mailing lists