Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1094255rwd; Thu, 18 May 2023 07:56:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4hgeYKKoFzeE0Fd2GQiaK6IAdLENN1mrolPzH8WysXjefkUEGn5M6OHpy5k2ZuatLzE++z X-Received: by 2002:a05:6a20:8f0a:b0:103:ee82:dc9e with SMTP id b10-20020a056a208f0a00b00103ee82dc9emr2876759pzk.50.1684421765244; Thu, 18 May 2023 07:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684421765; cv=none; d=google.com; s=arc-20160816; b=qwwnyjXYAU2sgYO6xuGavBYi2zqJ0CihseRlULoQyMub9X9r+5ADQ4EtadXp1CpUa5 8n8RWyNGej4j4cYEGWNDKvmxOjToFj6Go8i+kfJiKORlBc8hSYek+Cv0N6TJLJ0Ev07R G+DDOhj8cyYXcCmhOtUZ254h44hgZCeRPhNzc6jt/+xRWUyTT+tMpXq1ejbroLv0VqaN qpDqVXHa81+sP0tOeZrjz7LZZijD7K74+UmBpwTgtQJNfqEueLzWRU1WfT0yz6WnT3GP 64wsj4w1bqLFo7kLRIqh9LLBssLfeE4YKUBP6DHwc5nXgUi7V5BgHOLkgJvOVAmKEQ4l /lVw== 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=+vp85ppHBjvgs13g9iFXFd7MECAHieQCAHCOCBIubH4=; b=YjSKOemR5aF6EjE9f0JpU+S3uLQkzgvTn6KE3ToMz47BBD4c5OuspTWSEAo0YCXFl9 m3dgGRkXXzJiwHAGgLfXhn91utPsYdJZMcHLHLVsLQAGIQPpwe+y99wG5bZMW6YCrQva dKvogtbKPAVafipmGiAgPYDJNaDgc4QQWc5S/u6u5g3XFwLzwHf19J51lggzj2/2OMcx VAAzlbcF3OriyEc8Vz50ZnuGXBe0vkhAKCW10m6+TpjGoku1Wqd/L4j4wJMhXliMRC+X YiPBnlWvKqvjxl2N+WLlqNO1xsxpRsgzSexMCgBze07hwDemTA+iFvXe18ysFyLjwBa8 RE0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="Aler/rDn"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 w65-20020a626244000000b0063f32f045aasi1721765pfb.342.2023.05.18.07.55.51; Thu, 18 May 2023 07:56:05 -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="Aler/rDn"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 S231362AbjEROb5 (ORCPT + 99 others); Thu, 18 May 2023 10:31:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230049AbjEROb4 (ORCPT ); Thu, 18 May 2023 10:31:56 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C44010E5 for ; Thu, 18 May 2023 07:31:54 -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-out1.suse.de (Postfix) with ESMTPS id A9A7B22235; Thu, 18 May 2023 14:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1684420313; 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=+vp85ppHBjvgs13g9iFXFd7MECAHieQCAHCOCBIubH4=; b=Aler/rDn6umpJuIDfCLwwHeyJY6AyvlTO+HTULdNMaMwFF5l5rdMwaWmHoF6/v4xxEksBp oI/dGbFMdVSmY8537yHsQAPF0OnZkJxSkd0QjqcU3uijG3PyoxunKOcpBJeXti0H5M3NA4 0bWcRZeZjbpuKlshfUpTMwnUaDayOS8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1684420313; 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=+vp85ppHBjvgs13g9iFXFd7MECAHieQCAHCOCBIubH4=; b=ddjIXrX3wYb4edgrQbfa4UjLrFeTkydda9E18wkLexWalP2LLdFa6qFj1Y8JbOYZbA3DH7 Bu9ZIyP/ev9RzCBQ== 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 10DFE138F5; Thu, 18 May 2023 14:31:53 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id uqgOAdk2ZmQEXQAAMHmgww (envelope-from ); Thu, 18 May 2023 14:31:53 +0000 Date: Thu, 18 May 2023 16:31:46 +0200 Message-ID: <87wn15hfsd.wl-tiwai@suse.de> From: Takashi Iwai To: Oswald Buddenhagen Cc: Tom Rix , perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: emu10k1: set variables emu1010_routing_info and emu1010_pads_info storage-class-specifier to static In-Reply-To: References: <20230518123826.925752-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 Thu, 18 May 2023 15:58:51 +0200, Oswald Buddenhagen wrote: > > On Thu, May 18, 2023 at 08:38:26AM -0400, Tom Rix wrote: > > smatch reports > ^^^^^^ is this the best word to use here? Note that smatch is a name of a static analysis tool :) > > sound/pci/emu10k1/emumixer.c:519:39: warning: symbol > > 'emu1010_routing_info' was not declared. Should it be static? > > sound/pci/emu10k1/emumixer.c:859:36: warning: symbol > > 'emu1010_pads_info' was not declared. Should it be static? > > > > These variables are only used in their defining file, so it should be static > ^^ they > > > > Signed-off-by: Tom Rix > > > Reviewed-by: Oswald Buddenhagen > > (also amending one of the still pending patches. thanks!) Applied the patch now, thanks. Takashi