[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211119083805.GN427717@gauss3.secunet.de>
Date: Fri, 19 Nov 2021 09:38:05 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: <cgel.zte@...il.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
luo penghao <luo.penghao@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH linux-next] xfrm: Remove duplicate assignment
On Thu, Nov 04, 2021 at 06:26:21AM +0000, cgel.zte@...il.com wrote:
> From: luo penghao <luo.penghao@....com.cn>
>
> The statement in the switch is repeated with the statement at the
> beginning of the while loop, so this statement is meaningless.
>
> The clang_analyzer complains as follows:
>
> net/xfrm/xfrm_policy.c:3392:2 warning:
>
> Value stored to 'exthdr' is never read
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: luo penghao <luo.penghao@....com.cn>
Applied to ipsec-next, thanks luo!
Powered by blists - more mailing lists