[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cd5b490b-8416-f0be-1e80-12efedba6a86@fb.com>
Date: Wed, 3 Mar 2021 07:58:39 -0800
From: Yonghong Song <yhs@...com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>, <shuah@...nel.org>
CC: <ast@...nel.org>, <daniel@...earbox.net>, <andrii@...nel.org>,
<kafai@...com>, <songliubraving@...com>,
<john.fastabend@...il.com>, <kpsingh@...nel.org>,
<linux-kselftest@...r.kernel.org>, <netdev@...r.kernel.org>,
<bpf@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] selftests/bpf: Simplify the calculation of variables
On 3/2/21 11:52 PM, Jiapeng Chong wrote:
> Fix the following coccicheck warnings:
>
> ./tools/testing/selftests/bpf/test_sockmap.c:735:35-37: WARNING !A || A
> && B is equivalent to !A || B.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists