[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2f36c79a-093b-4b68-836a-79949f69e0a6@web.de>
Date: Tue, 27 Jan 2026 10:21:26 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Zilin Guan <zilin@....edu.cn>, nouveau@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org
Cc: LKML <linux-kernel@...r.kernel.org>, Ben Skeggs <bskeggs@...hat.com>,
Danilo Krummrich <dakr@...nel.org>, David Airlie <airlied@...il.com>,
Jianhao Xu <jianhao.xu@....edu.cn>, Lyude Paul <lyude@...hat.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Simona Vetter <simona@...ll.ch>,
Thomas Zimmermann <tzimmermann@...e.de>
Subject: Re: [PATCH] drm/nouveau: Fix memory leak in nouveau_channel_ctor()
…
> Add nouveau_channel_del() to the error path to ensure the allocated
> channel is properly freed.
…
https://elixir.bootlin.com/linux/v6.19-rc5/source/drivers/gpu/drm/nouveau/nouveau_chan.c#L247-L351
* 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