[PATCH v2] pinctrl: rzg2l: Variable may not have been assigned to

Marek Vasut marek.vasut at mailbox.org
Wed Sep 3 00:10:03 CEST 2025


On 9/1/25 9:15 PM, Paul Barker wrote:
> On Thu, 2025-08-07 at 15:41 +0100, Andrew Goodbody wrote:
>> In rzg2l_pinconf_set and rzg2l_get_pin_muxing if the call to
>> rzg2l_selector_decode fails then the variable pin may not have been
>> assigned to. Remove the use of pin from the error message. Also update
>> the error message to show the invalid selector used instead of port
>> which will be the error code returned.
>>
>> This issue was found by Smatch.
>>
>> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
> 
> This fell off my radar, sorry!
> 
> Reviewed-by: Paul Barker <paul at pbarker.dev>
Reviewed-by: Marek Vasut <marek.vasut+renesas at mailbox.org>

Thanks !


More information about the U-Boot mailing list