[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e1a21e4c-eb83-41bc-9b55-5332dff207a1@web.de>
Date: Mon, 26 Jan 2026 11:22:27 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Zilin Guan <zilin@....edu.cn>, linux-i3c@...ts.infradead.org,
Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc: LKML <linux-kernel@...r.kernel.org>, Aniket <aniketmaurya@...gle.com>,
Frank Li <Frank.Li@....com>, Jianhao Xu <jianhao.xu@....edu.cn>
Subject: Re: [PATCH] i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers()
…
> Add a dw_i3c_master_free_xfer() call to the error path to ensure the
> allocated memory is properly freed.
…
https://elixir.bootlin.com/linux/v6.19-rc5/source/drivers/i3c/master/dw-i3c-master.c#L1065-L1137
* Would you like to complete the exception handling by using another goto chain?
* How do you think about to increase the application of scope-based resource management?
See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v6.19-rc7#n34
Regards,
Markus
Powered by blists - more mailing lists