[PATCH] firmware: arm_scmi: Fix fallback to short name in scmi_pinctrl_attributes()

Sudeep Holla sudeep.holla at kernel.org
Thu Nov 19 05:07:55 PST 2026


On Thu, 05 Nov 2026 11:27:05 +0000, Sudeep Holla wrote:
> In scmi_pinctrl_attributes(), the return value of extended_name_get()
> is returned directly. If PINCTRL_NAME_GET failed, the error propagated
> to callers -  aborting pin/group/function descriptor initialization,
> despite the short name already being available in name.
> 
> Discard the return value of extended_name_get() and return success as
> intended unconditionally after the successful PINCTRL_ATTRIBUTES
> transfer. On failure, extended_name_get() won't have overwritten name,
> so the short name copied from rx->name remains intact, which is exactly
> the fallback behavior described by the existing comment.
> 
> [...]

Applied to sudeep.holla/linux (for-next/arm_fw/updates), thanks!

[1/1] firmware: arm_scmi: Fix fallback to short name in scmi_pinctrl_attributes()
      https://git.kernel.org/sudeep.holla/c/6337e8d465bb
-- 
Regards,
Sudeep




More information about the linux-arm-kernel mailing list