Messages in this thread | | | Date | Sat, 6 Apr 2024 17:51:51 +0100 | From | Jonathan Cameron <> | Subject | Re: [PATCH 2/3] of: Use scope based kfree() cleanups |
| |
On Thu, 04 Apr 2024 09:15:11 -0500 Rob Herring <robh@kernel.org> wrote:
> Use the relatively new scope based kfree() cleanup to simplify error > handling. Doing so reduces the chances of memory leaks and simplifies > error paths by avoiding the need for goto statements. > > Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
| |