Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1038805rwd; Thu, 18 May 2023 07:13:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6A1EMa6/vzJnLBrRGC9qNYUNcmGofwf20MLG1pEh31/ieti7HyLMuSOsWgZ2zMEgu9E1BI X-Received: by 2002:a17:90b:684:b0:250:8f09:75f2 with SMTP id m4-20020a17090b068400b002508f0975f2mr2326382pjz.22.1684419196977; Thu, 18 May 2023 07:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684419196; cv=none; d=google.com; s=arc-20160816; b=Y4gykV+f/RZ6pBTJn2YkgSem/DKGBAtf2y3asSmYF9zyGLBUR1/gegrlXujVrgas1z 9ZHMoBHXYhR3yG9Qed3pYMZaFTvftmQB4itOcVTM5j+GGVLvEL4+3m7arRreC/dU3RUw YEsv0dBcU8CFEY8NkCRz2ra1gcGO3JkCOhEtTinIQJUiYRyfVfZwe/TCrgkjcui2+3mb 2dmR/FlCNVxshWTlzfxBELf4LRqIT/GCQtp9ekgL2LsHeB+bVLvnWOlphgMXRzLCsmyL HL75q3IE1Lq62I0u5c+lG0eh/EWYjnKD7gXNsfkBBUcsmMIYn8ppepMsbeeOWAJ7e3lU dYag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=wyM8LUvrB/RkMYinbCUPnUfg365Jxs1SXUOuG1Ly4DM=; b=Yt7ScvWui76y9K8e7eOkaOo0M49TceBKdHL1pcfr3HrNdfohmPgOC7+6FJBuymLa7m OgBVJTz4hU28tS5A/Z4Qsy0K+q9RwZ7no6BlbqektxoTX2QGaro+lEX2GsOwkqSXpDG0 9Ed25Db9Eaa5Tz7v6eKGyPDeyuG4Bhy7Dc+5MkPkoPn6TOVtyfF8LBGZKOKwgZBM6EED H9Kd3BOnnT8sQwisE1cwkTvLdYS6Ao3lHsnIpvfLIM6FTEygQRCFLKxOYabyMEEzHhum znN9628UfL7isORbt4x9uR8Huhow6SFrzj2DqL8ve8YJ4ob6+Iopq5W0cnLuO/iFdh4S K+1w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m26-20020a63711a000000b005309f24f940si1594800pgc.586.2023.05.18.07.13.02; Thu, 18 May 2023 07:13:16 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231398AbjERN64 (ORCPT + 99 others); Thu, 18 May 2023 09:58:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230122AbjERN6z (ORCPT ); Thu, 18 May 2023 09:58:55 -0400 Received: from bluemchen.kde.org (bluemchen.kde.org [IPv6:2001:470:142:8::100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFD3110D5 for ; Thu, 18 May 2023 06:58:53 -0700 (PDT) Received: from ugly.fritz.box (localhost [127.0.0.1]) by bluemchen.kde.org (Postfix) with ESMTP id 7CE4523E25; Thu, 18 May 2023 09:58:51 -0400 (EDT) Received: by ugly.fritz.box (masqmail 0.3.4, from userid 1000) id 1pze9b-cDb-00; Thu, 18 May 2023 15:58:51 +0200 Date: Thu, 18 May 2023 15:58:51 +0200 From: Oswald Buddenhagen To: Tom Rix Cc: 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 Message-ID: Mail-Followup-To: Tom Rix , perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20230518123826.925752-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20230518123826.925752-1-trix@redhat.com> X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, 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, May 18, 2023 at 08:38:26AM -0400, Tom Rix wrote: >smatch reports ^^^^^^ is this the best word to use here? >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!) regards