Message ID | 20221215134337.77944-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp364580wrn; Thu, 15 Dec 2022 05:52:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf5TNg+RuK7rKjadLZeILuoyBgjuwkk8qddigVX1OXn7lw1bqvrzN+YUaitEsv/lB4kid5O4 X-Received: by 2002:a05:6a20:1b18:b0:ac:29b4:11bc with SMTP id ch24-20020a056a201b1800b000ac29b411bcmr34746540pzb.21.1671112349997; Thu, 15 Dec 2022 05:52:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671112349; cv=none; d=google.com; s=arc-20160816; b=b6xd1wQ9yibLsFb0GWjpw+0FVMsL83lQC7g9W8JCkPmWckwwDoLlz0ve7a1w4miqwh IF+z9jPAmsjrFdGgKbg68RlBiePVmI8o3QahcLETqp0TDwDYRunDHaG4lGtsoXKLjrA4 ro2eFEYK+2ZWC0EHdtlayTuIJojD5cvgdCbsWFL+fMRrPFQLI0KFF/0acm35wNK59KLX Eiy9sKW8h/FzpgZ2ThYgjLXA1upnOb1EssaXDla3/PlxQyFZj7SK9vJ8VqzYkgIT+7rc 2NPkYbDFd58gLM0I8NPXek1tNHlnSlINl33b4iFGchdqQYf0lhk6hNqReV3rL1GTA9k+ 4iiA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=yeSaGzMo9vtSSNNjXtnr+AVO8TROQTWJ8g1sUJShZO4=; b=Ub+IWfLxw7bspEVaEowMfrDk3qze4PrK1eXTdZXn9G3mIYBnwfvMOENB28/t4vzhbP y6O6UJ2mxMNW6xaaNG2QGi5V6wlET8f04MoG73jR4kMTv0zWiQzztjOZpDOzfDIG1C2J C3XFUHJCuhd0sCFigOH2yy+X6T4raT3zmcRCh78APc4pKfTsNTdmJ5MFrGWbGxGTqI8q tebiivkx1Zn7zHbypyiIAc2ysfaseWnVT7nDq7NIMYzMecMarc7rn2/bwW8hpdD1w5bv XdEqj6DCuhQngqvgbajMkxn4X3qmTW515z7myeK4ePDcX+NtM9XGtEKL1JCPAiSnsyVC M0OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aIuBTe8r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij26-20020a170902ab5a00b0018905bd4a58si5665929plb.169.2022.12.15.05.52.16; Thu, 15 Dec 2022 05:52:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aIuBTe8r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229722AbiLONnq (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Thu, 15 Dec 2022 08:43:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbiLONno (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 15 Dec 2022 08:43:44 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D0051D0E5 for <linux-kernel@vger.kernel.org>; Thu, 15 Dec 2022 05:43:44 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id cf42so15748179lfb.1 for <linux-kernel@vger.kernel.org>; Thu, 15 Dec 2022 05:43:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yeSaGzMo9vtSSNNjXtnr+AVO8TROQTWJ8g1sUJShZO4=; b=aIuBTe8rz7xw0KbrovzoVxh17WBpMVMqERmnZVQFKxaz5P8H1OGCEWFFBzXsKz0mwu 3VXTGdgsnD1bSUVBBe/vkXlSDPfqoZxLiOGE/dtlstvnq+8OO7UwqWFskifYCqSQJwtF U8OGW8fZ676WBGpLcQRU4LDzqGJmonX18qA0kU7cAvUN9GFswHoB6iEZ0Ae1cJbpYZD0 VbhyDYoVPPkHJnRsxs+0AydHZQzIW00s8BzEHEzYfTTAXd/flW6K6sdviZh6QbxSBjaE kQyAkEDnEg3DlZ6px/ntdo6/2gdkf0OU36HVmxNyyWYjv+rW5gfZseLLlqIP+hrWXWoJ PVag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yeSaGzMo9vtSSNNjXtnr+AVO8TROQTWJ8g1sUJShZO4=; b=IUlzaVKipx1WgRtGhbN/OvmeUHf3N7cMwHfXyIe/dzuKhTXGRomAJJ0ue3+y7CIBz2 Q8KzLJfBcr3NGkWNoqhhqnu3a8mPI9yE3BTaox8IOkUlFl32enaqwvy+zmbMbfi7cn4t qMJiIhzmUCPGEPV3iJOOtoZzWtKxmNzPAG5kuptxO2zJOCc9ZIb/2c7TciY/AsKNREvW gQCOAe8B1qjm1raYOCDm4YcGp4TRLv+UQYhE6mRNkCZEi9FspFvwbb69/mF3m7dKuabQ r5hNbs7rgYm1lR+vY+e+dIz7kzkYAhNOvyldHxc9W+ZZYMCZROiIYIpOG4n6q3OzUmNn 46TA== X-Gm-Message-State: ANoB5pkqV24ZA/8xykT5VUUqWre1tamCGkKUaMh8h65lDLdZPJRU73kd GQ8a4c12HBxCCeha0JfpU3w3oA== X-Received: by 2002:a05:6512:b8e:b0:4b5:a5c7:3286 with SMTP id b14-20020a0565120b8e00b004b5a5c73286mr11792153lfv.9.1671111822368; Thu, 15 Dec 2022 05:43:42 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id q21-20020a056512211500b0048aee825e2esm1161826lfr.282.2022.12.15.05.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Dec 2022 05:43:41 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Charles Keepax <ckeepax@opensource.cirrus.com>, Richard Fitzgerald <rf@opensource.cirrus.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, kernel test robot <lkp@intel.com> Subject: [PATCH] ASoC: lochnagar: Fix unused lochnagar_of_match warning Date: Thu, 15 Dec 2022 14:43:37 +0100 Message-Id: <20221215134337.77944-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752288303639027611?= X-GMAIL-MSGID: =?utf-8?q?1752288303639027611?= |
Series |
ASoC: lochnagar: Fix unused lochnagar_of_match warning
|
|
Commit Message
Krzysztof Kozlowski
Dec. 15, 2022, 1:43 p.m. UTC
lochnagar_of_match is used unconditionally, so COMPILE_TEST builds
without OF warn:
sound/soc/codecs/lochnagar-sc.c:247:34: error: ‘lochnagar_of_match’ defined but not used [-Werror=unused-const-variable=]
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
sound/soc/codecs/lochnagar-sc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, 15 Dec 2022 14:43:37 +0100, Krzysztof Kozlowski wrote: > lochnagar_of_match is used unconditionally, so COMPILE_TEST builds > without OF warn: > > sound/soc/codecs/lochnagar-sc.c:247:34: error: ‘lochnagar_of_match’ defined but not used [-Werror=unused-const-variable=] > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: lochnagar: Fix unused lochnagar_of_match warning commit: a12a383e59ce486abd719b6bda33c353a3b385e7 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/codecs/lochnagar-sc.c b/sound/soc/codecs/lochnagar-sc.c index 13fbd8830b09..5e0bd0d24ed3 100644 --- a/sound/soc/codecs/lochnagar-sc.c +++ b/sound/soc/codecs/lochnagar-sc.c @@ -253,7 +253,7 @@ MODULE_DEVICE_TABLE(of, lochnagar_of_match); static struct platform_driver lochnagar_sc_codec_driver = { .driver = { .name = "lochnagar-soundcard", - .of_match_table = of_match_ptr(lochnagar_of_match), + .of_match_table = lochnagar_of_match, }, .probe = lochnagar_sc_probe,