Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp962376imw; Tue, 5 Jul 2022 01:04:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u/XAp/vNGjCKzfFoqr09C5V17nWGm7Ffxgot0p+dlxDL3Zt8AKehy3I1Z9RU6MDS83L9Oh X-Received: by 2002:a05:6402:1d97:b0:43a:7b45:8e14 with SMTP id dk23-20020a0564021d9700b0043a7b458e14mr1114495edb.418.1657008257358; Tue, 05 Jul 2022 01:04:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657008257; cv=none; d=google.com; s=arc-20160816; b=WYT3/3o16KJ2LQbLYeOyeE40mdC4uEVOUBsS/sm1f4xC+eXlip7K2yU1TPJqA8E5IP SgEzd6mDIYRtOaWC0yc4YcpsbhgmzfLA0fOJfPMhnKa5WhPg6VB4bO3EQb+uksg5xW17 SV04JwUsBn1TAYvkoczXBnIpB8ELmJov6cTVx9rK7rJe8ejyvBHOU6efw3T8/1vF/vsK rimLJqe5ycQgMpN7/gchE3H33a3elWAyXv6C1Aj8J1Yju8hgWZ3IX+0HM7PwVpgSpF9v DaVzyjCnabfOcPJ79Yi3NE65csMAZI1mM8ba7Wg93J3cBH96+4gC/wNK3N6Mm9wFIdzf 6UXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=FEag9uALBA30HMk0xF+XkRZffndMZupU843m2tnEhng=; b=gtlgfqxgR1ttRDyihjoL5fqGHNP2nX2wFSOt9Q8q1Cb9Drb5cK96uLswI8N+PljmUY yrCCRrEHzHEOXdywROFTDQQw5y3PS82hLIKFptH32VxGxpTw+JOhlaPATPAtHIoUm7d7 lKMDc4vOpR0xfauEgA0Nmi0dzim2Gr1NSoK60ZXOiGpB8ptE9rf/ZBEYGQbnWxe94fNf mSHb1b+/8k523lZqFBdOR+x3MDnyqOlFaljPS8b9P7hAVgvG2ITRbTDVM4kY+68hDZRW skBtkBqvapSBiQkG+Smf5ruAlb0mxbEB306GZ2EFm8NJnKfPCQV8V5qmHQchj5xJrM27 qUUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=LmXShlcc; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Y4egdOKO; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020aa7d658000000b0043a7c1caadasi383170edr.298.2022.07.05.01.03.49; Tue, 05 Jul 2022 01:04:17 -0700 (PDT) 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=@suse.de header.s=susede2_rsa header.b=LmXShlcc; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Y4egdOKO; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229960AbiGEHp4 (ORCPT + 99 others); Tue, 5 Jul 2022 03:45:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbiGEHpy (ORCPT ); Tue, 5 Jul 2022 03:45:54 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BABC13D6A for ; Tue, 5 Jul 2022 00:45:53 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4AE2E1FF94; Tue, 5 Jul 2022 07:45:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1657007152; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FEag9uALBA30HMk0xF+XkRZffndMZupU843m2tnEhng=; b=LmXShlcc/1CNRNcnfrtr+MIjql/bLnkiUaNAmN1oKeTITPwMNGPj6geID0YKWBNwsWyF3b yLFDS+FdBM4JkaK6+joqwLPdOQ3akPxyzrEB8nUau75WHMeT7yAHvRrKiNSuEAIAmyAW9Y eztziPjeOqA4oo1i1+gL+ojbn9RvvT0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1657007152; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FEag9uALBA30HMk0xF+XkRZffndMZupU843m2tnEhng=; b=Y4egdOKOETqNAtBllMjJwGae7YiOETLVylij3CFgfehTxeofgFzqCTEIEog836GQjnBuHX 0rVv1Ar7EjfGf9DQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1D3361339A; Tue, 5 Jul 2022 07:45:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id i4RVBjDsw2IJPwAAMHmgww (envelope-from ); Tue, 05 Jul 2022 07:45:52 +0000 Date: Tue, 05 Jul 2022 09:45:51 +0200 Message-ID: <87r130vw7k.wl-tiwai@suse.de> From: Takashi Iwai To: Tom Rix Cc: perex@perex.cz, tiwai@suse.com, vitalyr@opensource.cirrus.com, sbinding@opensource.cirrus.com, tanureal@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: hda/cs8409: change cs8409_fixups v.pins initializers to static In-Reply-To: <20220704142836.636204-1-trix@redhat.com> References: <20220704142836.636204-1-trix@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 04 Jul 2022 16:28:36 +0200, Tom Rix wrote: > > sparse reports > sound/pci/hda/patch_cs8409-tables.c:79:25: warning: symbol 'cs8409_cs42l42_pincfgs_no_dmic' was not declared. Should it be static? > > cs8409_cs42l42_pincfgs_no_dmic is only used by cs8409_fixups table as an > initializer for the hda_fixup element v.pins. Both are defined in the > patch_cs8408-table.c file but only cs8409_fixups is used externally in > patch_cs8409.c. So cs8409_cs42l42_pincfgs_no_dmic should have a static > storage class specifier. > > The other v.pins initializers in cs8409_fixups table, though declared > extern in patch_cs8409.h are also only used in patch_cs8409-tables.c. > So change all the v.pins initializers to static. > > Fixes: 9e7647b5070f ("ALSA: hda/cs8409: Move arrays of configuration to a new file") > Signed-off-by: Tom Rix Thanks, applied now. Takashi