Re: [PATCH] phy: mediatek: fix returning garbage

2023-05-08 Thread Vinod Koul
On 08-05-23, 10:24, Matthias Brugger wrote: > > > On 08/05/2023 09:48, Vinod Koul wrote: > > On 05-05-23, 17:37, Matthias Brugger wrote: > > > > > > > > > On 05/05/2023 11:28, Vinod Koul wrote: > > > > On 14-04-23, 08:22, Tom Rix wrote: > > > > > clang reports > > > > >

Re: [PATCH] phy: mediatek: fix returning garbage

2023-05-08 Thread Matthias Brugger
On 08/05/2023 09:48, Vinod Koul wrote: On 05-05-23, 17:37, Matthias Brugger wrote: On 05/05/2023 11:28, Vinod Koul wrote: On 14-04-23, 08:22, Tom Rix wrote: clang reports drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable 'ret' is uninitialized when used here

Re: [PATCH] phy: mediatek: fix returning garbage

2023-05-08 Thread Vinod Koul
On 05-05-23, 17:37, Matthias Brugger wrote: > > > On 05/05/2023 11:28, Vinod Koul wrote: > > On 14-04-23, 08:22, Tom Rix wrote: > > > clang reports > > > drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable > > >'ret' is uninitialized when used here [-Werror,-Wuninitialized] > >

Re: [PATCH] phy: mediatek: fix returning garbage

2023-05-05 Thread Matthias Brugger
On 05/05/2023 11:28, Vinod Koul wrote: On 14-04-23, 08:22, Tom Rix wrote: clang reports drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized] if (ret) ^~~ ret should have been set by the

Re: [PATCH] phy: mediatek: fix returning garbage

2023-05-05 Thread Vinod Koul
On 14-04-23, 08:22, Tom Rix wrote: > clang reports > drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable > 'ret' is uninitialized when used here [-Werror,-Wuninitialized] > if (ret) > ^~~ > ret should have been set by the preceding call to mtk_hdmi_pll_set_hw.

Re: [PATCH] phy: mediatek: fix returning garbage

2023-04-17 Thread AngeloGioacchino Del Regno
Il 14/04/23 14:22, Tom Rix ha scritto: clang reports drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized] if (ret) ^~~ ret should have been set by the preceding call to mtk_hdmi_pll_set_hw.

Re: [PATCH] phy: mediatek: fix returning garbage

2023-04-14 Thread Nathan Chancellor
On Fri, Apr 14, 2023 at 08:22:53AM -0400, Tom Rix wrote: > clang reports > drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable > 'ret' is uninitialized when used here [-Werror,-Wuninitialized] > if (ret) > ^~~ > ret should have been set by the preceding call to

Re: [PATCH] phy: mediatek: fix returning garbage

2023-04-14 Thread Matthias Brugger
On 14/04/2023 17:43, Matthias Brugger wrote: On 14/04/2023 14:22, Tom Rix wrote: clang reports drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable    'ret' is uninitialized when used here [-Werror,-Wuninitialized] if (ret) ^~~ ret should have been set by

Re: [PATCH] phy: mediatek: fix returning garbage

2023-04-14 Thread Matthias Brugger
On 14/04/2023 14:22, Tom Rix wrote: clang reports drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized] if (ret) ^~~ ret should have been set by the preceding call to mtk_hdmi_pll_set_hw.

[PATCH] phy: mediatek: fix returning garbage

2023-04-14 Thread Tom Rix
clang reports drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized] if (ret) ^~~ ret should have been set by the preceding call to mtk_hdmi_pll_set_hw. Fixes: 45810d486bb4 ("phy: mediatek: add