Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7046044rdb; Wed, 3 Jan 2024 02:48:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwVrODAZwpis9N7gMotV+0alaXAui43d95UinkGg44eJ3JqZVr19FsmffPW5fOvBtRRdva X-Received: by 2002:a05:6a20:728e:b0:197:1861:498d with SMTP id o14-20020a056a20728e00b001971861498dmr4474276pzk.96.1704278896264; Wed, 03 Jan 2024 02:48:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704278896; cv=none; d=google.com; s=arc-20160816; b=ez2duhR8dequSc+mkMaoISJWQJc/L3L6VGwhyG/IhGP9+XTQv9SMQRiYTjzBc8g+Ai fGAjAE8SNYgOyobzzfGR9Wck/zO0jfVHMpFkUoFBEyBWiawJUfyzZ9YLDgl+SoJYW8LX hyOG2PvC5ol8byddb9bg6180uc6kiD5w5tzUHhAmk8TFghEEz+WUW7GfIAdCcD4PaJog TyziTxiq7dgUgsHGFz6q0sCHJzZA4tRlqPUBR1Qf2GqbHmWFXfg93pr+ii9fFa+i8kJC DkBxDIzrW753ubjq40kCWQkvot+PjqzSAuDXNjRn1h5dDWS3RYUaaU02CKTmsgDdFMH9 OBlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=Rg5KRAwo0AFVwbHMpXUMvMXUGfmIiWah+X+scYHvmWs=; fh=g1Y8wMzJ6J4Z7xYpFQj+MJz5RSGfJfO/idziUkES2wY=; b=pKoV6jH6KnJhN9XHl7aIPYyj+gex76LylEcYCe6SuLXFRyA2Iipt1S3GweLImArWFQ Ps+979q01z6AHxqzHNchY/fRIGiYd95vMzs7bGmxFCSaEaz0F8r1jd/Ofki3LwD0jq3Z xG2Bso79wnWviK/s9lXgqINO+Kv+tlOQDO5Lqqn+Fh9kO2XUFcxmnWg72Z5VTh/heHxf v62Ku32GvokcrNZdfEV/8NyftCGxU6Urt+uj9v/MqJ2Zuur1c9E3A6nh+x6D8LeP9wBj /O6VpH4yduH/pnBhGv2r8xxz5yzCWmetg595su4H+D6svjohatua4U75DNPw9wVqyf81 RYhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=aMVSUKwr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=L3Dr+y52; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-15406-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e18-20020a656492000000b00585999a38a6si21696552pgv.793.2024.01.03.02.48.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 02:48:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15406-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=aMVSUKwr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=L3Dr+y52; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-15406-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E6DC2285412 for ; Wed, 3 Jan 2024 10:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 414FB18C34; Wed, 3 Jan 2024 10:47:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="aMVSUKwr"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="LXjTni6i"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="L3Dr+y52"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="fMD2WkQk" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3F6518C19; Wed, 3 Jan 2024 10:47:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id CF8151FD0D; Wed, 3 Jan 2024 10:47:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704278863; 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=Rg5KRAwo0AFVwbHMpXUMvMXUGfmIiWah+X+scYHvmWs=; b=aMVSUKwrNxKsDAtUhf83urZiLbahRA7dJv4iQjHxUh+linKRV+pUcXJCCPGFN5u7AcGhI1 IOB2tFAsBrKF2NBPp15LiB0cuBZyeaT/VJDg11OJt8LZwI2Ejd4J6+COUcAKcnuyIcshls 0dZb93UyC28ht4DE29UksYuO/1CbnCw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704278863; 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=Rg5KRAwo0AFVwbHMpXUMvMXUGfmIiWah+X+scYHvmWs=; b=LXjTni6iQ+fTVuHvu61vqthFR6yFRCHGPc6Iui8mFt3NrYCEYaflXhh31Ku5oBrWZGx+87 QomT+jNovuQZIHBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704278862; 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=Rg5KRAwo0AFVwbHMpXUMvMXUGfmIiWah+X+scYHvmWs=; b=L3Dr+y526qc0FBu3bqQMGQ50XpMSEiO9d48DUvXIryxfDurx0LPNjmoVRTq7MYo1gxiNuE jX0g8s/bdQnRhG/MNMgYwVfHa4gJBNtd10MHTqDE2Av/ptZMTGLHE2DgXBexnbZzjQ4S0m 5kD7ZobGVDaNTjudjPftmhoqDP6h6sw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704278862; 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=Rg5KRAwo0AFVwbHMpXUMvMXUGfmIiWah+X+scYHvmWs=; b=fMD2WkQkqIdPqohQoq1TdjD3GDNhi5RWUkxKZwFRbthol1/6FrTA6vZ6NMqrhsl4zy+wKJ SGLbUpRyweJynqBw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 8A3E41340C; Wed, 3 Jan 2024 10:47:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id 2AVoIE47lWXuBgAAD6G6ig (envelope-from ); Wed, 03 Jan 2024 10:47:42 +0000 Date: Wed, 03 Jan 2024 11:47:42 +0100 Message-ID: <87cyuibsmp.wl-tiwai@suse.de> From: Takashi Iwai To: Arnd Bergmann Cc: Jaroslav Kysela , Takashi Iwai , Greg Kroah-Hartman , Arnd Bergmann , Yu Liao , Dawei Li , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: ac97: fix build regression In-Reply-To: <20240103102544.3715055-1-arnd@kernel.org> References: <20240103102544.3715055-1-arnd@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Level: X-Spam-Level: Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=L3Dr+y52; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=fMD2WkQk X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-2.07 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[outlook.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[9]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,arndb.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FREEMAIL_CC(0.00)[perex.cz,suse.com,linuxfoundation.org,arndb.de,huawei.com,outlook.com,vger.kernel.org]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-1.56)[92.15%] X-Spam-Score: -2.07 X-Rspamd-Queue-Id: CF8151FD0D X-Spam-Flag: NO On Wed, 03 Jan 2024 11:25:38 +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > The ac97_bus_type structure is no longer declared in this file: > > sound/ac97/bus.c: In function 'ac97_codec_add': > sound/ac97/bus.c:112:27: error: 'ac97_bus_type' undeclared (first use in this function); did you mean 'bus_type'? > 112 | codec->dev.bus = &ac97_bus_type; > | ^~~~~~~~~~~~~ > | bus_type > sound/ac97/bus.c:112:27: note: each undeclared identifier is reported only once for each function it appears in > sound/ac97/bus.c: In function 'snd_ac97_codec_driver_register': > sound/ac97/bus.c:191:28: error: 'ac97_bus_type' undeclared (first use in this function); did you mean 'ac97_bus_reset'? > 191 | drv->driver.bus = &ac97_bus_type; > > Include the header that contains the declaration and make sure the definition > is const but not static. > > Fixes: 66e82d219924 ("ALSA: mark all struct bus_type as const") > Signed-off-by: Arnd Bergmann Thanks, applied now. Takashi