Re: [PATCH] pstore/ram: Replace of_node_put with __free() for automatic cleanup

From: Abhinav Jain
Date: Wed Jun 05 2024 - 18:10:24 EST


On Wed, 24 Apr 2024, Kees Cook wrote:
> Please don't move variable definitions into the middle of the function
> body. :)

I have moved the parent_node declaration back to the top of the function body.

Patch v2:
https://lore.kernel.org/all/20240605214944.22113-1-jain.abhinav177@xxxxxxxxx/