summaryrefslogtreecommitdiff
path: root/drivers/fpga/spartan3.c
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-08-07 15:41:18 +0100
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2025-09-03 02:45:08 +0200
commit8705ee4b6d3665f096017aaef5c1496ba7c74cc3 (patch)
treedebc569b30d9ef85ed422d2ba4d2854dc09e7218 /drivers/fpga/spartan3.c
parentd367be2b13a388fdb0dc2720f66c30ddcec8a4fd (diff)
pinctrl: rzg2l: Variable may not have been assigned to
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@linaro.org> Reviewed-by: Paul Barker <paul@pbarker.dev> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'drivers/fpga/spartan3.c')
0 files changed, 0 insertions, 0 deletions