[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201110152600.40c919a7@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 10 Nov 2020 15:26:00 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: xiakaixu1987@...il.com
Cc: irusskikh@...vell.com, andrew@...n.ch, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Kaixu Xia <kaixuxia@...cent.com>
Subject: Re: [PATCH v2] net: atlantic: Remove unnecessary conversion to bool
On Sun, 8 Nov 2020 09:11:59 +0800 xiakaixu1987@...il.com wrote:
> From: Kaixu Xia <kaixuxia@...cent.com>
>
> The '!=' expression itself is bool, no need to convert it to bool.
> Fix the following coccicheck warning:
>
> ./drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1477:34-39: WARNING: conversion to bool not needed here
>
> Reported-by: Tosk Robot <tencent_os_robot@...cent.com>
> Signed-off-by: Kaixu Xia <kaixuxia@...cent.com>
Applied.
Powered by blists - more mailing lists