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 X-Spam-Level: X-Spam-Status: No, score=-6.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C62A1C4727F for ; Tue, 29 Sep 2020 11:17:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78C21206DB for ; Tue, 29 Sep 2020 11:17:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601378244; bh=hI0i6iq8KBS5xcshw5o5PCNNOwrKpBjtblqgVD/O5qM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=xQeBcbgScxRo8/TfLJFQjn2dJUDJ/s61JHaj+2PxR4ZF63cTuM5TrX3bnAolH1YHd aQiMu3eJZU7rR8Bx8v6wrvmMSUiqqhdNl0F2DCObmGPETJZEnpHB0AmJoPh9dN+wcn 2ADary2y4xRLnBMLB2yS+PtXbR74hRVAQf3vPdqk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729032AbgI2LRX (ORCPT ); Tue, 29 Sep 2020 07:17:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:33984 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729172AbgI2LRH (ORCPT ); Tue, 29 Sep 2020 07:17:07 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 603C821D46; Tue, 29 Sep 2020 11:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601378226; bh=hI0i6iq8KBS5xcshw5o5PCNNOwrKpBjtblqgVD/O5qM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VY/kRn0Rp9wtMetOMZ4H8POmNk61b2oBEA+1NnW8R44ms7F9G00+zw+oRYEYCjztx M05XngGRuYBQetCW5IG9GanhpLUM8ObnGkrQ/vTbTbR7r/luK9pKTAzrybjLOoocGS nBSBrhkNWDW/9KiMGxvepvMqSrtoHZfw5TmBxKIU= Date: Tue, 29 Sep 2020 12:16:07 +0100 From: Mark Brown To: Peter Ujfalusi Cc: Nick Desaulniers , kernel test robot , kbuild-all@lists.01.org, clang-built-linux , LKML Subject: Re: sound/soc/ti/j721e-evm.c:528:34: warning: unused variable 'j721e_audio_of_match' Message-ID: <20200929111607.GA4799@sirena.org.uk> References: <202009271553.4OjMpGkX%lkp@intel.com> <76cae106-b643-57a9-e82e-48e46ebf1b70@ti.com> <20200928180412.GA4827@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: X-Cookie: I left my WALLET in the BATHROOM!! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 29, 2020 at 09:00:02AM +0300, Peter Ujfalusi wrote: > The ifdef would be preferred if the driver could work in non DT boot (to > save few bytes) but since it is not the case here: What I'd *really* like would be something in the of_match_ptr() that flagged that there's a reference to the table for the purposes of the warning but still lets the table be eliminated by the linker. --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl9zF3QACgkQJNaLcl1U h9CZuAf+Ij3HfuLkZJWbEfxbfM3dYO8XiA5hlj+nrX9Ct5qyHSq3IpRbuvLK3AN1 4dhUoXDHQlyDxLPLLQl6RRsJ6BkXj3ViS5shyt2TZKTSCMZ7FddMQeMB+n/GBonx F/cg06ab2e6+i+f79QnHMBveNqmqvG7CfJyjeHviR731da4H4a+n/ZCTnGor+oF0 lccFHhSmWCQgT50CKcz+378ceVU2nESlTkgmCr+QNPKI3BHRmgZnt4OPDO3Ackvo 6epGaQB0MuM4vNA1iUoBLQZXx4JX2C7smvLJijjqXhRwF2j9HT5/HLT6H56o/iXo EDYsLYxGZn8sycp08doT9QZyxjTxbQ== =Fm8B -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6777888554807883965==" MIME-Version: 1.0 From: Mark Brown To: kbuild-all@lists.01.org Subject: Re: sound/soc/ti/j721e-evm.c:528:34: warning: unused variable 'j721e_audio_of_match' Date: Tue, 29 Sep 2020 12:16:07 +0100 Message-ID: <20200929111607.GA4799@sirena.org.uk> In-Reply-To: List-Id: --===============6777888554807883965== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Sep 29, 2020 at 09:00:02AM +0300, Peter Ujfalusi wrote: > The ifdef would be preferred if the driver could work in non DT boot (to > save few bytes) but since it is not the case here: What I'd *really* like would be something in the of_match_ptr() that flagged that there's a reference to the table for the purposes of the warning but still lets the table be eliminated by the linker. --===============6777888554807883965== Content-Type: application/pgp-signature MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRRXpCQUFCQ2dBZEZpRUVyZVpvcW1kWEdM V2Y0cC9xSk5hTGNsMVVoOUFGQWw5ekYzUUFDZ2tRSk5hTGNsMVUKaDlDWnVBZitJajNIZnVMa1pK V2JFZnhiZk0zZFlPOFhpQTVobGorbnJYOUN0NXF5SFNxM0lwUmJ1dkxLM0FOMQo0ZGhVb1hESFFs eUR4TFBMTFFsNlJSc0o2QmtYajNWaVM1c2h5dDJUWktUU0NNWjdGZGRNUWVNQituL0dCb254CkYv Y2cwNmFiMmU2K2krZjc5UW5ITUJ2ZU5xbXF2RzdDZkp5amVIdmlSNzMxZGE0SDRhK24vWkNUbkdv citvRjAKbGNjRkhoU21XQ1FnVDUwQ0tjeiszNzhjZVZVMm5FU2xUa2dtQ3IrUU5QS0kzQkhSbWda bnQ0T1BETzNBY2t2bwo2ZXBHYVFCME11TTR2TkExaVVvQkxRWlh4NEpYMkM3c212TEppampxWGhS d0YyajlIVDUvSExUNkg1Nm8vaVhvCkVEWXNMWXhHWm44c3ljcDA4ZG9UOVFaeXhqVHhiUT09Cj1G bThCCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQo= --===============6777888554807883965==--