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 984C1C6FD1D for ; Wed, 15 Mar 2023 10:05:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231828AbjCOKFd (ORCPT ); Wed, 15 Mar 2023 06:05:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232332AbjCOKFI (ORCPT ); Wed, 15 Mar 2023 06:05:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE0752F79F; Wed, 15 Mar 2023 03:04:24 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id C0AFF61CBF; Wed, 15 Mar 2023 10:04:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78BA8C43444; Wed, 15 Mar 2023 10:04:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678874656; bh=HrEyR4EtUwhwq/8VCDY+hWQLVJjd6XlOp2Hyd8XWyjo=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=tUSNpIrFCX0NaH/EWp8LTLDvWlkaFLEaq3SJ4G+/G+s5Mxsa1H/SsrtcYUhPwHcKQ V1j0iTjH0OsuDdvdfYM54ds/DhbspC0A1Bpi6UyyMHGmHqhAmFxCbXtqf2ONOks7fV XYwt71k9yMKC7Uu4/9cooSkno2KpIKurq+wh0WJ5/neieQCj7//I/Pin9l8fcoR7cQ 2UgzfPi9pQklk6h0K6XAfJXr8xWUsM69wa/Z7958B0kZyPV6l58u2bgPiKxspDAIjR xjCNq27n1pRbQAR/Fjus1ogQfNTBPBjNKJuwzd1hTNfb2FUl9n3KKQOh8hraRyGfNE ItF8N1I/axU1w== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: wifi: mwifiex: mark OF related data as maybe unused From: Kalle Valo In-Reply-To: <20230312132523.352182-1-krzysztof.kozlowski@linaro.org> References: <20230312132523.352182-1-krzysztof.kozlowski@linaro.org> To: Krzysztof Kozlowski Cc: Amitkumar Karwar , Ganapathi Bhat , Sharvari Harisangam , Xinming Hu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <167887464998.17341.1753931700389519426.kvalo@kernel.org> Date: Wed, 15 Mar 2023 10:04:13 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Krzysztof Kozlowski wrote: > The driver can be compile tested with !CONFIG_OF making certain data > unused: > > drivers/net/wireless/marvell/mwifiex/sdio.c:498:34: error: ‘mwifiex_sdio_of_match_table’ defined but not used [-Werror=unused-const-variable=] > drivers/net/wireless/marvell/mwifiex/pcie.c:175:34: error: ‘mwifiex_pcie_of_match_table’ defined but not used [-Werror=unused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Simon Horman Patch applied to wireless.git, thanks. 139f6973bf14 wifi: mwifiex: mark OF related data as maybe unused -- https://patchwork.kernel.org/project/linux-wireless/patch/20230312132523.352182-1-krzysztof.kozlowski@linaro.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches