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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A7FAC43219 for ; Mon, 7 Nov 2022 08:57:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231361AbiKGI4x (ORCPT ); Mon, 7 Nov 2022 03:56:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230470AbiKGI4t (ORCPT ); Mon, 7 Nov 2022 03:56:49 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 540C41408B; Mon, 7 Nov 2022 00:56:48 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 07BCEB80E71; Mon, 7 Nov 2022 08:56:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CA46C433D7; Mon, 7 Nov 2022 08:56:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1667811405; bh=vgdFZIM9usLbUHOfcyw4uubYpBcgbom4JPVldXuy06E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P73ZNbubEi3IVs6LMykRCDzv2dlKafrHUhWQi3OsgTA8kyxjldwX2WE8hPOAGrb8f bPoIM7+JIabgErIwe5H1f9KXivSR6jCpicLPrYgkc4l0jTvLW8wpFAefvNbQfmE7RW ov+fRzzlJ0wJwZrX7qDKDae9HfNh6Qmy8QkCzrIA= Date: Mon, 7 Nov 2022 09:56:42 +0100 From: Greg KH To: Jonas Rabenstein Cc: stable@vger.kernel.org, Jiri Olsa , Song Liu , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Steven Rostedt , Masami Hiramatsu , bpf@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bpf: mark get_entry_ip as __maybe_unused Message-ID: References: <20221103150303.974028-1-rabenstein@cs.fau.de> <20221103153247.zal3czlsxvanfnc3@kashyyyk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221103153247.zal3czlsxvanfnc3@kashyyyk> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 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. greg k-h