[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025112643-wife-repose-d923@gregkh>
Date: Wed, 26 Nov 2025 12:32:52 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Navaneeth K <knavaneeth786@...il.com>
Cc: Abdun Nihaal <abdun.nihaal@...il.com>,
parthiban.veerasooran@...rochip.com, christian.gromm@...rochip.com,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: most: dim2: fix missing cleanup on interface
registration failure
On Tue, Nov 25, 2025 at 09:36:16PM +0530, Navaneeth K wrote:
> Hi Nihaal,
> Thank you for the detailed explanation.
> That makes perfect sense. I wasn’t aware that most_register_interface()
> is intended to handle cleanup via the dev.release path even on failure.
> I will analyze most_register_interface() and prepare a follow-up patch
> to address the inconsistency in the early error paths where put_device()
> is missing, as you suggested.
>
> Greg, since this version of the patch would introduce a double-free,
> could you please drop it from staging-testing?
Ok, will go drop it now, thanks.
greg k-h
Powered by blists - more mailing lists