[PATCH net-next] net: bnxt: Remove Comparison to bool in bnxt_ethtool.c

David Miller davem at davemloft.net
Tue May 5 18:41:15 UTC 2020


From: Jason Yan <yanaijie at huawei.com>
Date: Tue, 5 May 2020 15:46:08 +0800

> Fix the following coccicheck warning:
> 
> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1991:5-46: WARNING:
> Comparison to bool
> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1993:10-54: WARNING:
> Comparison to bool
> drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:2380:5-38: WARNING:
> Comparison to bool
> 
> Signed-off-by: Jason Yan <yanaijie at huawei.com>

Applied.


More information about the dri-devel mailing list