[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZD6mZv2n2yUZKA1G@corigine.com>
Date: Tue, 18 Apr 2023 16:17:10 +0200
From: Simon Horman <simon.horman@...igine.com>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: open list <linux-kernel@...r.kernel.org>,
lkft-triage@...ts.linaro.org, llvm@...ts.linux.dev,
linux-phy@...ts.infradead.org,
"moderated list:ARM/Mediatek SoC..."
<linux-mediatek@...ts.infradead.org>,
Guillaume Ranquet <granquet@...libre.com>,
Vinod Koul <vkoul@...nel.org>, Kishon <kishon@...com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Netdev <netdev@...r.kernel.org>, chunfeng.yun@...iatek.com
Subject: Re: next: allmodconfig: phy-mtk-hdmi-mt8195.c:298:6: error: variable
'ret' is uninitialized when used here [-Werror,-Wuninitialized]
On Fri, Apr 14, 2023 at 03:14:27PM +0530, Naresh Kamboju wrote:
> Following build warnings / errors noticed while building allmodconfig for arm64
> with clang-16 on Linux next-20230414.
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.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.
I believe a fix for this has been submitted but not yet applied.
- [PATCH v2 1/2] phy: mediatek: hdmi: mt8195: fix uninitialized variable usage in pll_calc
Link: https://lore.kernel.org/all/20230413-fixes-for-mt8195-hdmi-phy-v2-1-bbad62e64321@baylibre.com/
Powered by blists - more mailing lists