Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2283708rwd; Wed, 17 May 2023 08:05:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eJ3AhsTn92p2y9evg8iKMUlScrAaEVEXwuZSITo+JeCTTqfVibadl92L1SNS1oXflAi2U X-Received: by 2002:a05:6a00:b8d:b0:643:b27f:6c43 with SMTP id g13-20020a056a000b8d00b00643b27f6c43mr1516810pfj.27.1684335958762; Wed, 17 May 2023 08:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684335958; cv=none; d=google.com; s=arc-20160816; b=ivZ5s9VAvK6CX2DbY9x2VkLBrV/i0xt2+aTHLDaYay4tAM2FdplhE39GAsYxiW2e3B xzBMUh3KE2zZ7F0tnYHkBgmoO7zlI6nM9rg8AlDXu628x7ck19y4WwFSO1GikwFWsn2z tMDiE/keZ6zrztFOqXRpOQw8HzGXHu0a+VRT9Fq9AASeavuriVQ7btM1g6+4S2xZnB/q 3SmRvxXz0REDORGTkXLF10sz7AXmAoffdehnbX/4bfLoONufHJiXIwdWjn3Fza+BHsht m8czQS3bNAmmv7bkkH0r4pY3FjN5LnJkIE5w2VdCk92nXNf931XbeKG7HJd6mN3wwlQw IKZQ== 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=9ibgoaQed0YOZPO31PdHH3INact4M7VrxIu1eAcWFcw=; b=xou4lJa4KD1CAREFVwD3Y3xdpcynkAZNpnWMAp6sLULQATwoZ6XMCj+jnjBN84Akfp W8CmSEGO4wLy335y0/Dfsy3ouqWx6g9JiDB4UwiSbfyN3dN7mDm0PP5eO7p7XcpsER3N mxvfjUebZjXT/TIGiaE3UoefrVKuuPZghWkhIOxdeJ5BWHaamLWTuG1e4FY6TzNsu1nO P7tVMn9nSJwFyjqs1K/WfiV9gZpeXJhfCF5LIFCD+w+OPyL57dAPFOe4iIp9fhVDUdCK fTedlubnuX5QgkQLD5UcZgRoUtCYOoCLXEiuodWnJZDD2YU1cSxsXZnGZI2wW3qdWFE3 Qu0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Eaxtbu7+; 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 a69-20020a621a48000000b0063d2eae52cdsi22424844pfa.224.2023.05.17.08.05.46; Wed, 17 May 2023 08:05:58 -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=Eaxtbu7+; 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 S230096AbjEQO5R (ORCPT + 99 others); Wed, 17 May 2023 10:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230086AbjEQO5Q (ORCPT ); Wed, 17 May 2023 10:57:16 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DD6FE77 for ; Wed, 17 May 2023 07:56:50 -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 F129B22564; Wed, 17 May 2023 14:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1684335408; 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=9ibgoaQed0YOZPO31PdHH3INact4M7VrxIu1eAcWFcw=; b=Eaxtbu7+hesNpvOcSw4cLsY18CTAqscNbzhT4X18jGx30XFI6n1qIyCL1zgbopNwqJoNbT a5zyAn9gAqSzBMniSmFkrzfYmWh/pu3blbeXQyM/xqnKp45taJeZWn35v98r7jtEnQauQs 7iSBSoqjbNW5uDY2IwJ1oOQHKRh7rPQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1684335408; 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=9ibgoaQed0YOZPO31PdHH3INact4M7VrxIu1eAcWFcw=; b=atJLcGeW0wJEnF7iVC+vqWmSmlLSAO9qdHZCKgN5ccbhmOSwvyXLe7gTLwsgLAUpFy4OY2 R9TLcAIcjSlGppAg== 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 C804013358; Wed, 17 May 2023 14:56:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id MVC6LzDrZGT3dAAAMHmgww (envelope-from ); Wed, 17 May 2023 14:56:48 +0000 Date: Wed, 17 May 2023 16:56:48 +0200 Message-ID: <87ilcr0zwv.wl-tiwai@suse.de> From: Takashi Iwai To: Arnd Bergmann Cc: Jaroslav Kysela , Takashi Iwai , Arnd Bergmann , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ALSA: cs46xx: mark snd_cs46xx_download_image as static In-Reply-To: <20230516195046.550584-1-arnd@kernel.org> References: <20230516195046.550584-1-arnd@kernel.org> 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,URIBL_BLOCKED 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 Tue, 16 May 2023 21:50:41 +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > snd_cs46xx_download_image() was originally called from dsp_spos.c, but > is now local to cs46xx_lib.c. Mark it as 'static' to avoid a warning > about it lacking a declaration, and '__maybe_unused' to avoid a warning > about it being unused when CONFIG_SND_CS46XX_NEW_DSP is disabled: > > sound/pci/cs46xx/cs46xx_lib.c:534:5: error: no previous prototype for 'snd_cs46xx_download_image' > > Fixes: 89f157d9e6bf ("[ALSA] cs46xx - Fix PM resume") > Signed-off-by: Arnd Bergmann Thanks, applied now. Takashi