From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from www2881.sakura.ne.jp (www2881.sakura.ne.jp [49.212.198.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7C813B6C07 for ; Wed, 8 Apr 2026 14:08:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=49.212.198.91 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775657295; cv=none; b=ZnQIVXnor3cab/RIg0Pk4X6oEcj7Bbq3Bdwwu5jTTqAtJu9U1GotCxw7GL3Xv6WViyhWtFJ0hhz99fI+I56erVDll/O0i7wuLEFdu1HHx1QHFxlsnU2T5fxXSbRnbJROzvDgfKQiILcF5Xxg0p1i2C4VOzBr+5UFzsKGJLkpwsE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775657295; c=relaxed/simple; bh=QkY8rfsPusGI3tAKpM5AC44Ym4pvjgcYM0Jb6GcLcJA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Br/V1osdtdAJzoN00y0OYA+Rhd12rIYlyQf3qlJlQSrmxqPtS2PCdnkx7eC+a19lrHb2sEhQOqjsRCMGeoevHbD6GdGqNf11rLfr0iTaakRm2B0c7eYD048KS45xfu/j2YU17o8e8imIPJ7Mi4YGh4WdXBvPNTkpw92liOfG84o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=enjuk.jp; spf=pass smtp.mailfrom=enjuk.jp; dkim=pass (2048-bit key) header.d=enjuk.jp header.i=@enjuk.jp header.b=GRxqik68; arc=none smtp.client-ip=49.212.198.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=enjuk.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=enjuk.jp Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=enjuk.jp header.i=@enjuk.jp header.b="GRxqik68" Received: from x1 (13.3.31.150.dy.iij4u.or.jp [150.31.3.13]) (authenticated bits=0) by www2881.sakura.ne.jp (8.16.1/8.16.1) with ESMTPSA id 638CeGTi083232 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 8 Apr 2026 21:40:18 +0900 (JST) (envelope-from kohei@enjuk.jp) DKIM-Signature: a=rsa-sha256; bh=UDvmLFYVfQkRem5aHBdzktJlS1WKoSW4+JCHWTsN6Yk=; c=relaxed/relaxed; d=enjuk.jp; h=From:Message-ID:To:Subject:Date; s=rs20251215; t=1775652018; v=1; b=GRxqik686OuNAh+4hstxOyRNPaax3klhmJvOmspoZ+qa+rrxEa/vwOABEYGAd5i0 QTkKEfWCQyAmLF9YiHdIeEa5H+RRg7F/4pH6qOjDGNlil/9Gz/Ncy8ophFtycY0f ma/EYNokDTab5LQclfEWAb6WXW5cFHw+bbt9feIkZbOBe8vPJmoCVSYwLtV2EbNz EW1+psWC7oX5j2Zh7xVcZZRrK+i/1ane4WJtx8O5RuOSjSWVlISaQ+y/1LI6vHtp kdRt0kueh9ep/WAhLH4VbXjXtxhhNln2QKj0F5svwp70Lkv3I6qjbzBHhJoPpRpp zNlebvNR/lYiMwuYYkuLmg== Date: Wed, 8 Apr 2026 21:40:16 +0900 From: Kohei Enju To: Matt Vollrath Cc: intel-wired-lan@osuosl.org, stable@vger.kernel.org Subject: Re: [PATCH iwl-net v2] i40e: Cleanup PTP pins on probe failure Message-ID: References: <20260407161447.43645-1-tactii@gmail.com> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260407161447.43645-1-tactii@gmail.com> On 04/07 12:14, Matt Vollrath wrote: > PTP pin structs are allocated early in probe, but never cleaned up. > > Fix this by calling i40e_ptp_free_pins in the error path. > > To support this, i40e_ptp_free_pins is added to the header and > pin_config is correctly nullified after being freed. > > This has been an issue since i40e_ptp_alloc_pins was introduced. > > Fixes: 1050713026a08 ("i40e: add support for PTP external synchronization clock") > Reported-by: Kohei Enju > Cc: stable@vger.kernel.org > Signed-off-by: Matt Vollrath Reviewed-by: Kohei Enju Thanks for updating from v1.