[lvc-project] [PATCH 1/2] pinctrl: mediatek: paris: handle mtk_hw_set_value() errors in mtk_pmx_set_mux()

Linus Walleij linus.walleij at linaro.org
Wed Sep 27 11:40:01 MSK 2023


On Fri, Sep 22, 2023 at 3:59 PM Karina Yankevich <k.yankevich at omp.ru> wrote:

> mtk_pmx_set_mux() doesn't check the result of mtk_hw_set_value()
> despite it may return negative error code. Propagate error code
> to caller functions.
>
> Found by Linux Verification Center (linuxtesting.org) with the Svace static
> analysis tool.
>
> Signed-off-by: Karina Yankevich <k.yankevich at omp.ru>

Patches make sense so applied both.

Yours,
Linus Walleij



More information about the lvc-project mailing list