[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200506220443.pmszq4jnfr2pcjp4@kafai-mbp>
Date: Wed, 6 May 2020 15:04:43 -0700
From: Martin KaFai Lau <kafai@...com>
To: Jason Yan <yanaijie@...wei.com>
CC: <davem@...emloft.net>, <kuznet@....inr.ac.ru>,
<yoshfuji@...ux-ipv6.org>, <udknight@...il.com>,
<tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
<x86@...nel.org>, <hpa@...or.com>, <ast@...nel.org>,
<daniel@...earbox.net>, <songliubraving@...com>, <yhs@...com>,
<andriin@...com>, <john.fastabend@...il.com>,
<kpsingh@...omium.org>, <lukenels@...washington.edu>,
<xi.wang@...il.com>, <netdev@...r.kernel.org>,
<bpf@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] bpf, i386: remove unneeded conversion to bool
On Wed, May 06, 2020 at 10:03:52PM +0800, Jason Yan wrote:
> The '==' expression itself is bool, no need to convert it to bool again.
> This fixes the following coccicheck warning:
Make sense.
It may belong to bpf-next instead.
Acked-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists