Re: [PATCH v2 3/3] bus: stm32_firewall: Use scoped allocation to simplify cleanup

From: Alexandre TORGUE

Date: Mon Mar 02 2026 - 03:15:56 EST




On 3/1/26 15:12, Krzysztof Kozlowski wrote:
On 05/01/2026 15:37, Krzysztof Kozlowski wrote:
Allocate the memory with scoped/cleanup.h to reduce error handling and
make the code a bit simpler.

Suggested-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

---

Changes in v2:
1. New patch
---
drivers/bus/stm32_firewall.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)

Is anyone picking up patches for stm32?

I will.


Best regards,
Krzysztof