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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D2BEC4345F for ; Thu, 18 Apr 2024 08:21:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f8ybAhXntDqdWvx5RDMdgxMMjlvMGyjuYXnvF43DRHg=; b=kbx7M8W3GuAHxa 3zePY2Zw6H5hCZ6de9F7bAscKURprW+iHgjlsXgknpwoyrb4ibEbrT/VNS6V3ZSBxoCBuV6ACs8zY xh+FSj6Ik8pYisOE0l/Zr9t7kh+uYuOwROZ4u4b667ypTmSx3raa+NvCRm4O1V2336uNVuirjzdSc mtW8I81DZc9UUhY5BenZOAVa6JwAuBZ/aZz5YqydPKFQHjmPjeuUyUVvLOAvPfimgpspKOlBqlrYN eXbQXvn6DLlKMRHA1156W5hUtVernIoDKHIYdsogBbJ9mQZXL45RIvBG1mXayIYMzOYoShSjQL91r bYdU+R+Vl9UBG9+6v7eQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxN0u-00000001PGC-3e8H; Thu, 18 Apr 2024 08:21:01 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxN0r-00000001PEi-3f5t for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 08:20:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=poeqGWAuzEib6iyERmB6iRNsS7ERoA38Bv4rmj6bMlk=; b=06bK53f5BXdv6kWHz1QPLjl2Zd qZ3Ca9nE6wYyXk2NJLioRh/f5n/Bp/2V7kgXSAaiWik1MOY0JxW6oDADOxdaPElXUgvew++VhPaR6 D7+zDVirdSJQZotSCYEIPEJZdDRMYEVmiQ5u595ypwGHEsbZtS82oDvozfYFwTwhoqxKjc422SHO/ sIBZvmHHhFF3ZkwWnJjKJyLJ+IR9LwDDENkxkqzgDno+ncnck0UNUiXpug44g/pjLqwd5TAA0naX/ SDFjdwFnUNMAkji87LV2ydmwBrWGfw03OVp80ZCqT40XCFm2Srk4iaoiSBb3+RfLlhzR4JeMtA9NN PzQR+DLg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:50800) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rxN0d-0005O2-0k; Thu, 18 Apr 2024 09:20:43 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rxN0d-0006n0-44; Thu, 18 Apr 2024 09:20:43 +0100 Date: Thu, 18 Apr 2024 09:20:42 +0100 From: "Russell King (Oracle)" To: kernel test robot , Jakub Kicinski Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: Re: [arm:zii 20/80] drivers/net/dsa/xrs700x/xrs700x.c:714:37: warning: 'xrs700x_phylink_mac_ops' defined but not used Message-ID: References: <202404180634.GZNTrBPU-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202404180634.GZNTrBPU-lkp@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240418_012057_931274_1036D680 X-CRM114-Status: GOOD ( 14.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Apr 18, 2024 at 06:26:42AM +0800, kernel test robot wrote: > All warnings (new ones prefixed by >>): > > >> drivers/net/dsa/xrs700x/xrs700x.c:714:37: warning: 'xrs700x_phylink_mac_ops' defined but not used [-Wunused-const-variable=] > 714 | static const struct phylink_mac_ops xrs700x_phylink_mac_ops = { > | ^~~~~~~~~~~~~~~~~~~~~~~ My testing did not produce this warning, so I'm guessing that by default the kernel does not build with this warning enabled - which seems to be completely mad. This is not the first time that this has happened... and it will not be the last while the kernel adopts this policy. Your follow-up email shows that there are other warnings which will be spat out with W=1 which will make spotting one new warning difficult, so this isn't the answer either. I guess we are now completely reliant on the 0-day robot finding these cases... which sucks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel