Re: [PATCH net 02/10] net: pse-pd: fix module refcount leak in pse_control_get_internal()
From: Carlo Szelinsky
Date: Mon Oct 19 2026 - 15:57:13 EST
On Mon, 19 Oct 2026 11:31:12 +0200, Kory Maincent wrote:
> As spotted by sashiko you can remove the two checks on
> pi_get_admin_state callback as it is already done in the
> pse_controller_register() function.
> Maybe you can do it in a patch before this one even if it is not a fix.
Hi Kory,
Will do. In the next version a patch before this one removes both
checks, in pse_control_get_internal() and pse_pi_is_enabled(). This
patch then only fixes the pse_pi_is_hw_enabled() error path.
pw-bot: cr
Carlo