Re: [PATCH] of: unittest: Unlock on error in unittest_data_add()
From: "Rob Herring (Arm)" <robh@kernel.org>
Date: 2025-05-09 19:33:46
Also in:
kernel-janitors, lkml
From: "Rob Herring (Arm)" <robh@kernel.org>
Date: 2025-05-09 19:33:46
Also in:
kernel-janitors, lkml
On Wed, 30 Apr 2025 11:05:40 +0300, Dan Carpenter wrote:
The of_overlay_mutex_unlock() was accidentally deleted if "of_root" is
NULL. Change this to a goto unlock.
Fixes: d1eabd218ede ("of: unittest: treat missing of_root as error instead of fixing up")
Signed-off-by: Dan Carpenter <redacted>
---
drivers/of/unittest.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)Applied, thanks!