[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <969082ca-8af4-420e-992d-c6f4cc79f6c6@web.de>
Date: Fri, 23 Jan 2026 12:15:48 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Weigang He <geoffreyhe2@...il.com>, Suman Anna <s-anna@...com>,
Jassi Brar <jassisinghbrar@...il.com>
Cc: stable@...r.kernel.org, kernel-janitors@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>, Tony Lindgren <tony@...mide.com>
Subject: Re: [PATCH] mailbox: omap: fix reference count leak in
omap_mbox_probe()
…
> 1. Using goto-based error handling to ensure of_node_put(child) is
> called on all error paths within the loop
> 2. Adding of_node_put(child) after the loop completes normally to
> release the last child node reference
How do you think about to increase the application of scope-based resource management
with another patch?
Regards,
Markus
Powered by blists - more mailing lists