diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-11-27 17:07:50 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-12-02 04:32:36 +0300 |
commit | 67bbbcb49b968a93251de7b23616d5aff5d3a726 (patch) | |
tree | 9e135b9b87c81c6d1e5d9140243a17456ba3eb00 /drivers/slimbus | |
parent | debc8b0b469d1b0a0745df2c0992eb268f7994fa (diff) | |
download | linux-67bbbcb49b968a93251de7b23616d5aff5d3a726.tar.xz |
pinctrl: mediatek: uninitialized variable in mtk_pctrl_show_one_pin()
The "try_all_type" variable is not set if (hw->soc->pull_type) is false
leading to the following Smatch warning:
drivers/pinctrl/mediatek/pinctrl-paris.c:599 mtk_pctrl_show_one_pin()
error: uninitialized symbol 'try_all_type'.
Fixes: fb34a9ae383a ("pinctrl: mediatek: support rsel feature")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211127140750.GA24002@kili
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/slimbus')
0 files changed, 0 insertions, 0 deletions