Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6024672pxb; Mon, 14 Feb 2022 13:22:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVABAVaujfsweFO2ZnEYiH88aQSnqqhPouzz+jAjsWrvS+tERbxVsrwiYOi9jRR34elv9h X-Received: by 2002:a17:902:8f8a:: with SMTP id z10mr809564plo.59.1644873774425; Mon, 14 Feb 2022 13:22:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644873774; cv=none; d=google.com; s=arc-20160816; b=uR8PYnR9Hr0m+3jrg6N4aL+SvB5tOC0G9yGecFa4KcF+iNGk7X3Rx0gp69CrmFq1p8 uW6genEbqDV1ypKu4U7Hnd0MnMALIqRd8DhABvIgmPZOoDLCa4DMeCk/mkpCO2RTvIhM VCMKxmQV/qY/kXrtsObgwoFr/vBBXRxFEgMxtwE73GtAKhPwmDpqPnUOy47/mEbdivtT doWbx1bqwWCUsr9PDezKfeRIjp7AUtmX4XQJiWi3D96d0kwgpFjHEHCGJ9AzPZB3GrWS XUTXYB9/jl9ZnlJ4CLX7DoslcBnGLsvmQi1MOSG65UOZDrJy0ePSAYzsAXyVFgTuw9+i 9szQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=WHdLbCldDBrjFaJadTw9Yo9p/ef1ivQIZY7M6039Kms=; b=nfNizOdI/XAYiDgJNcTDENDS48y7lndm8/chNR73IsfVwn1SJu29eBXxDghu3mVD2T 3F9c2C59iPFJDxmfHw+8er3cl9D/abXHbsCaW9wEN8sbrZ099mBwR45rs6ppt/LjZSb6 g2vngpcFBLiVxEAGiuTPiz+tmvbuVfBOLvJfMr/XCQedwcD5VYFwak6MR1iBMH1LUNJo qoRyKMYzINtCv/grPMB+4wUxanSIr2WomvckE5XV5RMkdjhu6NxtTEFR+SYm5qcYfJHv USf9ujfC3fBFpPZbWiYqmZcA+XhibcgmJweztoIzojdl5Du+rQuGaYtAaEiyKSJFaZs9 /NzA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i1si13886051plg.20.2022.02.14.13.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 13:22:54 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D6421B10E4; Mon, 14 Feb 2022 12:39:59 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbiBNTCd (ORCPT + 99 others); Mon, 14 Feb 2022 14:02:33 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:39334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiBNTCI (ORCPT ); Mon, 14 Feb 2022 14:02:08 -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 A7843A8888 for ; Mon, 14 Feb 2022 11:01:51 -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 A14CFB8164B for ; Mon, 14 Feb 2022 18:57:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDD6DC340E9; Mon, 14 Feb 2022 18:57:40 +0000 (UTC) Date: Mon, 14 Feb 2022 13:57:39 -0500 From: Steven Rostedt To: Nathan Chancellor Cc: kernel test robot , chongjiapeng , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: kernel/trace/ftrace.c:7157:20: error: unused function 'ftrace_startup_enable' Message-ID: <20220214135739.60b2149e@gandalf.local.home> In-Reply-To: References: <202202132037.4aN017dU-lkp@intel.com> <20220214102000.1d3af66e@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Feb 2022 08:53:04 -0700 Nathan Chancellor wrote: > I will be honest, I don't know why the robot flagged 172f7ba9772c as the > commit that introduced this warning but it seems legitimate if > CONFIG_DYNAMIC_FTRACE is not enabled, since ftrace_startup_enable() is > only ever used within an '#ifdef CONFIG_DYNAMIC_FTRACE' block so I guess > the stub is unnecessary? I'm all fine for clean up patches, but I don't like "new warning" message reports for things that use to be OK, but now are a warning. In other words, if a bot updates its warnings, it should do a full pass of the kernel before it starts on new commits, to flag all existing warnings as OK (but possibly work for someone to clean up), but should not ever send as a new warning message to the authors. So, I'm going to ignore this. If someone wants to send me a clean up patch, I'll test it and take it, but I do not have the time to clean up new warnings that use to be OK unless they uncovered a real bug. -- Steve