Re: [PATCH v2 1/2] reset: Fix reset_control leak when put after controller unregister
From: Markus Elfring
Date: Wed Nov 04 2026 - 13:00:14 EST
…
> +++ b/drivers/reset/core.c
> @@ -160,6 +160,9 @@ int reset_controller_register(struct reset_controller_dev *rcdev)
> }
> EXPORT_SYMBOL_GPL(reset_controller_register);
>
> +static void __reset_control_release(struct kref *kref);
> +static void __reset_control_free(struct reset_control *rstc);
…
How do you think about to reconsider the usage of double underscores
in such identifiers any more?
https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/declarations-and-initialization-dcl/dcl37-c/
Regards,
Markus