Message ID | 20230309140959.2616497-1-trix@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp322925wrd; Thu, 9 Mar 2023 06:33:53 -0800 (PST) X-Google-Smtp-Source: AK7set9uevittr03U3YlSPe3rmi1r9vyIs1HAAXWANfwW5Qdt6d4jf1TVuphWfHIhsr4xTy4g/QV X-Received: by 2002:a05:6a20:748c:b0:cd:1a05:f4ea with SMTP id p12-20020a056a20748c00b000cd1a05f4eamr23591754pzd.50.1678372433476; Thu, 09 Mar 2023 06:33:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678372433; cv=none; d=google.com; s=arc-20160816; b=l5n4RF+82Zz0dvM9sa6S0MjwuX23JFSdt7oV8eMTXDYHoAxQf+Ni4y9m5+3Ay6JIzo 7wiDuglc1XCTQGxwDMq8oPsxOLxj+lfJV/h7lfHR3zVJ5m3eRr5TLMv1tVMc4Pixst6c IrURW8lT8I7f8ff7KJLnCUJvpWpc/xM+DzMCms1Ij1hTyDiUmRXmHgtBT/ysoHxGyYzE M6X5RPIKF1ROEe63OlT3PvPBNIGIRrzMfs3hH60dllpOU36pRgJu1WUdvlD6flEI98D2 glQAmrcbVAXtLKhxdqIwjPuaGWJRkrq4WI9j6mvbkgqXjUeKLiWJweEao63RS9nnI4ET moFw== 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=ODObCz4UpLnL30PCazA7QvVVaLpuERoMVAQqToE74AA=; b=cieHqEBG2e3NzXHTzd8ZuI3SGm6ZUGh1/iNy7V1TxXvGwnME4lfWVRlxyUuUUZPe/6 kJ7FoXzIwST4chYDnZJ3iB5MpbOnZTMPUB3wrBJBa/i4dGVs9MvWYjHMYobU3YCuJuTw tTm3xR3D6XrBN3DwgFl5xMX+FPUyv/rGlz6mNKicxwO6+SLXCwH6EhtYFXBM+3/ZWMFj pghlnUi4KNyYCR2LGo5ulw7dcZgYerLeoYe/mVxOv4e7TyjI9ylMBbIDLMpp7OdZosSY CrAxEZqHCpIdsXrFYAnS1fccoGveuJPaPanqMuetbaM9B5sumYDFz2vYDcF8N3+z4koX n30w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HSHtn1NP; 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=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 37-20020a631465000000b00502d861f9e5si16692797pgu.322.2023.03.09.06.33.39; Thu, 09 Mar 2023 06:33:53 -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=@redhat.com header.s=mimecast20190719 header.b=HSHtn1NP; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231669AbjCIOPO (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Thu, 9 Mar 2023 09:15:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231799AbjCIOOt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Mar 2023 09:14:49 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 217C01ABD2 for <linux-kernel@vger.kernel.org>; Thu, 9 Mar 2023 06:12:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678371167; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ODObCz4UpLnL30PCazA7QvVVaLpuERoMVAQqToE74AA=; b=HSHtn1NP+akfpSog0xmMedtuMowsSM75BI/kqARTiPVsF4dB4uVCLqkOZvQZRHr+QJY5if eieRxTwumlfsAevQG6viTEhpOoBN9SCPlhuWdIaETLCMrbK4z9zlOs4r2mGlSnXhVR/OJI 5YHvVJ58piutimOUk1atY6nGpjpPi04= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-135-PXDAVpEhMU-YdCDTQlwMVA-1; Thu, 09 Mar 2023 09:10:02 -0500 X-MC-Unique: PXDAVpEhMU-YdCDTQlwMVA-1 Received: by mail-qt1-f197.google.com with SMTP id l17-20020ac84cd1000000b003bfbae42753so1106895qtv.12 for <linux-kernel@vger.kernel.org>; Thu, 09 Mar 2023 06:10:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371002; 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=ODObCz4UpLnL30PCazA7QvVVaLpuERoMVAQqToE74AA=; b=BSBweNRA0PXcvJZfARufOHXrhrDQLXorcscmEUlyms2xICXBWZg69QKd4jwAIHvtGu KByQP8ZvYh773ROHBvI8ThyHS3nsP7wP/LF8itBFctsFqIG5CzaG072ZCr8h9iTaaroF tKsNudKsbInofnMg+PYkVPPP60Hf5r2wD693q3eegfgmrh+P8OkmRPxgaFjcCFfNspFC PpDVWxXxdpyuofdkm/8GYI3Lb62frVhDEHxi1mfOmzCQ2xKz63nipWgX6HiPlrqQZX5T THXA0jqKkdQyaMyYrRzOOaAiilM2tXtyFPRLuOLpPsbbnW3CRLuZcVpIuPnHfdEA9tot Iarg== X-Gm-Message-State: AO0yUKUL6XPy/BbA0vScmSoILkYdyBLDXgBHBp1AX9aFJT4el+7+e91f vOW+k+Ty8IDGVtjAD8GI+19nS4QI5TtLb00C4Kd7OgMGGq7dz801P/JBhWktzh7Q/+OZVnl9d0h EpoOZ1inSq0pmQa/ndrW5AgI+ X-Received: by 2002:a05:622a:1ba5:b0:3bf:dc55:ab0b with SMTP id bp37-20020a05622a1ba500b003bfdc55ab0bmr38055386qtb.42.1678371002402; Thu, 09 Mar 2023 06:10:02 -0800 (PST) X-Received: by 2002:a05:622a:1ba5:b0:3bf:dc55:ab0b with SMTP id bp37-20020a05622a1ba500b003bfdc55ab0bmr38055355qtb.42.1678371002162; Thu, 09 Mar 2023 06:10:02 -0800 (PST) Received: from dell-per740-01.7a2m.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id d17-20020ac800d1000000b003b848759ed8sm13644719qtg.47.2023.03.09.06.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:10:01 -0800 (PST) From: Tom Rix <trix@redhat.com> To: kiseok.jo@irondevice.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Tom Rix <trix@redhat.com> Subject: [PATCH] ASoC: SMA1303: set sma_i2c_regmap storage-class-specifier to static Date: Thu, 9 Mar 2023 09:09:59 -0500 Message-Id: <20230309140959.2616497-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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?1759901053032010957?= X-GMAIL-MSGID: =?utf-8?q?1759901053032010957?= |
Series |
ASoC: SMA1303: set sma_i2c_regmap storage-class-specifier to static
|
|
Commit Message
Tom Rix
March 9, 2023, 2:09 p.m. UTC
smatch reports
sound/soc/codecs/sma1303.c:1594:28:
warning: symbol 'sma_i2c_regmap' was not declared. Should it be static?
sma_i2c_regmap is only used in sma1303, so it should be static
Signed-off-by: Tom Rix <trix@redhat.com>
---
sound/soc/codecs/sma1303.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, 09 Mar 2023 09:09:59 -0500, Tom Rix wrote: > smatch reports > sound/soc/codecs/sma1303.c:1594:28: > warning: symbol 'sma_i2c_regmap' was not declared. Should it be static? > > sma_i2c_regmap is only used in sma1303, so it should be static > > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: SMA1303: set sma_i2c_regmap storage-class-specifier to static commit: d7d103d1779c3d0bc4d55f2802930a6b067450c0 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/sma1303.c b/sound/soc/codecs/sma1303.c index fa4b0a60f8a9..b6c132edf3bd 100644 --- a/sound/soc/codecs/sma1303.c +++ b/sound/soc/codecs/sma1303.c @@ -1591,7 +1591,7 @@ static const struct snd_soc_component_driver sma1303_component = { .num_dapm_routes = ARRAY_SIZE(sma1303_audio_map), }; -const struct regmap_config sma_i2c_regmap = { +static const struct regmap_config sma_i2c_regmap = { .reg_bits = 8, .val_bits = 8,