From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D605CC433F5 for ; Tue, 19 Apr 2022 07:01:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 531FF10EEB2; Tue, 19 Apr 2022 07:01:37 +0000 (UTC) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by gabe.freedesktop.org (Postfix) with ESMTPS id CE5C810EEB2 for ; Tue, 19 Apr 2022 07:01:35 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 5F3882112B; Tue, 19 Apr 2022 07:01:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1650351694; 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=IVrxI7k1ifm5AVHxBNA4vg7g3DvfNn+i52sKD4CT/7c=; b=yvqQEPUaxXn5KdShiAjhnM9VU/RVcB/rY2uDynwP1oUg1mPBMsi+qb+Y/U/DnL0G++hH4h SWcElFyY1kqEGX5ieutAjOstFiFZn6PgiHb0zfelESoMdZ29Orr/EZZ+OUwwKchvissEes YiSK/qrA8zCzFDyA+4azrki0XDGFEfU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1650351694; 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=IVrxI7k1ifm5AVHxBNA4vg7g3DvfNn+i52sKD4CT/7c=; b=Mni+J2F2Ixk0cEGqa+xf3AfdNYY8/xNsoe5B0CSeEkAMSomAUjmlpZii2y5qMgsOB2KHt1 7OB4EvB15pToP4Bw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 4BD4CA3BAD; Tue, 19 Apr 2022 07:01:34 +0000 (UTC) Date: Tue, 19 Apr 2022 09:01:34 +0200 Message-ID: From: Takashi Iwai To: Lucas De Marchi In-Reply-To: <20220416064418.2364582-1-lucas.demarchi@intel.com> References: <20220416064418.2364582-1-lucas.demarchi@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: Re: [Intel-gfx] [PATCH] ALSA: hda/i915: Fix one too many pci_dev_put() X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, alsa-devel@alsa-project.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Sat, 16 Apr 2022 08:44:18 +0200, Lucas De Marchi wrote: > > pci_get_class() will already unref the pci device passed as argument. > So if it's unconditionally unref'ed, even if the loop is not stopped, > there will be one too many unref for each device not matched. > > Cc: Kai Vehmanen > Cc: Takashi Iwai > Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5701 > Fixes: 0dc2696a4623 ("ALSA: hda/i915 - skip acomp init if no matching display") > Signed-off-by: Lucas De Marchi Thanks, applied now. But the Fixes commit id was wrong. I corrected to the right upstream one, c9db8a30d9f0. Takashi