From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2C93C3A5422; Mon, 13 Apr 2026 08:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776067857; cv=none; b=IO9FeHw7LvpaKH6qelKXsy3dohJ4rvOCh8MW8nLGm5Xd4onXjOSys/hzaH/wxK25b6lAwmVC2v+NE/azfvhf55ytaZ1b6Keji4kjt++Xm5Lp1BAJeHlYDesrqEvFQ3OQgCoCA66V+OkmAep4p6/XVi1ykVFiq9sVOQle8oItIlg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776067857; c=relaxed/simple; bh=GvPYAtIUKx0iy3T7lnTnQm++/JolSX86/uvIHmCSbTA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n2cht+9mqxWKrnD8661XcegBlqV38rVdz4QArebSyju0JJFSkOYlk6CAx8tbQxDFBZwcI22ooEINaKB1T8DyC0DnG/ReF4pswL9Wmr+aai9i917mq4Ty4xE0JZgSjJg+czPYHuj/nmRUulmzMNWa7i8GylXaZS4yhxvNYZcgiWA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bT7Nu3DO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bT7Nu3DO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05ACEC2BCB0; Mon, 13 Apr 2026 08:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776067857; bh=GvPYAtIUKx0iy3T7lnTnQm++/JolSX86/uvIHmCSbTA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bT7Nu3DOh8on4MLzIxwfPk6cEjIHJzQeGYv3IvhPvq9qtX6huiD8T/JypRw45b1mh sYq7xbMDJM3aFHUV6BUiIFhJkFDovN1CNOP+ELHxGYSo8H46Mj6ipVOhj6I7Eo3+s7 b+tyKaZfV8fDaaYcRGHcmLjWpODxkaBRrPDyzd4qpF6u3ASxKuLoTT5bUrpFyiDTF4 zqoNmoveBODlhqjFONRq2Lv1gOBSgz23S1MNceAHNntUtBRfkplYhGAA41vK8jFgZM aUqe2TD0uUwo0QcqtRgfOBcHgUHvOYmiBxtgvoAEOxt6j2fPU+CdC6lmccds2rJPL4 5o3mj2WuIdTYQ== Received: from johan by xi.lan with local (Exim 4.98.2) (envelope-from ) id 1wCCNi-00000000n55-37tp; Mon, 13 Apr 2026 10:10:54 +0200 Date: Mon, 13 Apr 2026 10:10:54 +0200 From: Johan Hovold To: Guangshuo Li Cc: Greg Kroah-Hartman , Alan Stern , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] usb-serial: fix port device refcount leak when device_add() fails Message-ID: References: <20260412165311.2578501-1-lgs201920130244@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Guangshuo, [ Remember to avoid top-posting when posting to the lists. ] On Mon, Apr 13, 2026 at 03:55:09PM +0800, Guangshuo Li wrote: > This report came from a static analysis result produced by a tool I am > developing, and my review of the report here was incomplete. Please mention that in the commit messages. Johan