linux-stable/drivers/pinctrl/mediatek
Dan Carpenter 67bbbcb49b 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: fb34a9ae38 ("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>
2021-12-02 02:32:36 +01:00
..
Kconfig pinctrl: mediatek: add support for MT7986 SoC 2021-10-24 23:06:32 +02:00
Makefile pinctrl: mediatek: add support for MT7986 SoC 2021-10-24 23:06:32 +02:00
mtk-eint.c pinctrl: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
mtk-eint.h
pinctrl-moore.c pinctrl: mediatek: moore: check if pin_desc is valid before use 2021-09-16 12:06:28 +02:00
pinctrl-moore.h
pinctrl-mt2701.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt2712.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt6397.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt6765.c
pinctrl-mt6779.c
pinctrl-mt6797.c
pinctrl-mt7622.c
pinctrl-mt7623.c
pinctrl-mt7629.c
pinctrl-mt7986.c pinctrl: mediatek: add support for MT7986 SoC 2021-10-24 23:06:32 +02:00
pinctrl-mt8127.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8135.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8167.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8173.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8183.c
pinctrl-mt8192.c
pinctrl-mt8195.c pinctrl: mediatek: add rsel setting on MT8195 2021-10-03 00:43:36 +02:00
pinctrl-mt8365.c pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings 2021-07-23 18:11:30 +02:00
pinctrl-mt8516.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mtk-common-v2.c pinctrl: mediatek: support rsel feature 2021-10-03 00:43:36 +02:00
pinctrl-mtk-common-v2.h pinctrl: mediatek: support rsel feature 2021-10-03 00:43:36 +02:00
pinctrl-mtk-common.c pinctrl: mediatek: fix mode encoding 2021-06-09 15:30:45 +02:00
pinctrl-mtk-common.h pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mtk-mt2701.h
pinctrl-mtk-mt2712.h
pinctrl-mtk-mt6397.h
pinctrl-mtk-mt6765.h
pinctrl-mtk-mt6779.h
pinctrl-mtk-mt6797.h
pinctrl-mtk-mt8127.h
pinctrl-mtk-mt8135.h
pinctrl-mtk-mt8167.h
pinctrl-mtk-mt8173.h
pinctrl-mtk-mt8183.h
pinctrl-mtk-mt8192.h
pinctrl-mtk-mt8195.h
pinctrl-mtk-mt8365.h pinctrl: mediatek: add support for mt8365 SoC 2021-05-27 16:50:15 +02:00
pinctrl-mtk-mt8516.h
pinctrl-paris.c pinctrl: mediatek: uninitialized variable in mtk_pctrl_show_one_pin() 2021-12-02 02:32:36 +01:00
pinctrl-paris.h