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

Paul Barker paul at pbarker.dev
Mon Sep 1 21:15:28 CEST 2025


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>

-- 
Paul Barker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: This is a digitally signed message part
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250901/f97da5a5/attachment.sig>


More information about the U-Boot mailing list