Re: [PATCH] bpf: mark get_entry_ip as __maybe_unused

From: Greg KH
Date: Mon Nov 07 2022 - 04:30:11 EST


On Mon, Nov 07, 2022 at 09:56:42AM +0100, Greg KH wrote:
> On Thu, Nov 03, 2022 at 04:32:47PM +0100, Jonas Rabenstein wrote:
> > Hi again,
> > after sending this out, I noticed this is only a problem in the stable
> > versions (starting from v6.0.3), as c09eb2e578eb1668bbc has been applied (as
> > 03f148c159a250dd454) but not 0e253f7e558a3e250902 ("bpf: Return value in kprobe
> > get_func_ip only for entry address") which makes always use of get_entry_ip.
> > I therefore think, 0e253f7e558a3e250902 needs to be added to the stable v6.0
> > series as well as otherwise it can't be compiled with -Werror if
> > CONFIG_X6_KERNEL_IBT is set but CONFIG_FPROBE isn't.
>
> Ok, now queued up, thanks.

Oops, this breaks the build, now dropping.

greg k-h