]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ethernet: ti: cpsw: use true,false for bool variables
authorJason Yan <yanaijie@huawei.com>
Sat, 19 Sep 2020 07:46:17 +0000 (15:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 21:23:14 +0000 (14:23 -0700)
commita78766d9375bcf1460450047c7565f1c9cd42614
tree8edea06c48f32030932eb46a65fb4c855a7084f2
parent65dc8e12f158e24eee79a754751f56e603eaa5f2
net: ethernet: ti: cpsw: use true,false for bool variables

This addresses the following coccinelle warning:

drivers/net/ethernet/ti/cpsw.c:1599:2-17: WARNING: Assignment of 0/1 to
bool variable
drivers/net/ethernet/ti/cpsw.c:1300:2-17: WARNING: Assignment of 0/1 to
bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c