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 BD2BAC61DA3 for ; Tue, 21 Feb 2023 13:44:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233796AbjBUNoI (ORCPT ); Tue, 21 Feb 2023 08:44:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233565AbjBUNoI (ORCPT ); Tue, 21 Feb 2023 08:44:08 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A4A914217 for ; Tue, 21 Feb 2023 05:44:07 -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 AE31AB80E88 for ; Tue, 21 Feb 2023 13:44:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04172C433EF; Tue, 21 Feb 2023 13:44:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1676987044; bh=Mu7TJpO1J1olspWT5vCVJ4OyNFer0X+SrmWLifHnHFE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2pLI77st4Znh8BsG/Q5ocMePJ8iWbrIwkmONo5Mud5s/6Jd9Ug+G0JV2LkPHpVet1 rUDv59TqIQ2hCEgiAga55QS9uRFr8TXyYmj9zJ6TmMlWoFjTjuXuXPHOOBoX5UzWkO amTYcmRTGqAaQNBxpO5mNg7MX00s9OjMQLDCT0mg= Date: Tue, 21 Feb 2023 14:44:01 +0100 From: Greg KH To: Srinivasarao Pathipati Cc: stable@vger.kernel.org, Srinivasarao Pathipati Subject: Re: [PATCH V2] rcu-tasks: Fix build error Message-ID: References: <1676981074-27435-1-git-send-email-quic_spathi@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1676981074-27435-1-git-send-email-quic_spathi@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Feb 21, 2023 at 05:34:34PM +0530, Srinivasarao Pathipati wrote: > From: Srinivasarao Pathipati > > Making show_rcu_tasks_rude_gp_kthread() function as 'inline' to > fix below compilation error. > This is applicable to only 5.10 kernels as code got modified > in latest kernels. > > In file included from kernel/rcu/update.c:579:0: > kernel/rcu/tasks.h:710:13: error: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Werror=unused-function] > static void show_rcu_tasks_rude_gp_kthread(void) {} > > Fixes: 8344496e8b49 ("rcu-tasks: Conditionally compile show_rcu_tasks_gp_kthreads()") > Signed-off-by: Srinivasarao Pathipati > --- > kernel/rcu/tasks.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) You didn't answer my "why is this an issue now" question. Also, please document exactly what the modification was in Linus's tree that prevents us from backportin gthat change here. thanks, greg k-h