public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* next: allmodconfig: phy-mtk-hdmi-mt8195.c:298:6: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized]
@ 2023-04-14  9:44 Naresh Kamboju
  2023-04-18 14:17 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2023-04-14  9:44 UTC (permalink / raw)
  To: open list, lkft-triage, llvm, linux-phy,
	moderated list:ARM/Mediatek SoC...
  Cc: Guillaume Ranquet, Vinod Koul, Kishon, AngeloGioacchino Del Regno,
	Netdev, chunfeng.yun

Following build warnings / errors noticed while building allmodconfig for arm64
with clang-16 on Linux next-20230414.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:298:6: error: variable
'ret' is uninitialized when used here [-Werror,-Wuninitialized]
        if (ret)
            ^~~
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c:216:12: note: initialize
the variable 'ret' to silence this warning
        int i, ret;
                  ^
                   = 0
1 error generated.


--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-18 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-14  9:44 next: allmodconfig: phy-mtk-hdmi-mt8195.c:298:6: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized] Naresh Kamboju
2023-04-18 14:17 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox