[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221024145527.0eff7844@kernel.org>
Date: Mon, 24 Oct 2022 14:55:27 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: kernel test robot <lkp@...el.com>,
Russell King <rmk+kernel@...linux.org.uk>
Cc: Andrew Morton <akpm@...ux-foundation.org>, ntfs3@...ts.linux.dev,
netdev@...r.kernel.org, linux-parisc@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
amd-gfx@...ts.freedesktop.org,
Linux Memory Management List <linux-mm@...ck.org>
Subject: Re: [linux-next:master] BUILD SUCCESS WITH WARNING
76cf65d1377f733af1e2a55233e3353ffa577f54
On Tue, 25 Oct 2022 00:58:57 +0800 kernel test robot wrote:
> drivers/net/phy/phylink.c:588 phylink_validate_mask_caps() warn: variable dereferenced before check 'state' (see line 583)
Hi Russell, I think the warning is semi-legit. Your commit f392a1846489
("net: phylink: provide phylink_validate_mask_caps() helper") added an
if (state) before defer'ing state but it's already deref'ed higher up
so can't be null.
Powered by blists - more mailing lists