Commit acda6180 authored by Saurav Girepunje's avatar Saurav Girepunje Committed by David S. Miller

broadcom: bnxt: Fix use true/false for bool

Use true/false for bool type in bnxt_timer function.
Signed-off-by: default avatarSaurav Girepunje <saurav.girepunje@gmail.com>
Acked-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb5ff33f
......@@ -10004,7 +10004,7 @@ static void bnxt_timer(struct timer_list *t)
if (bp->link_info.phy_retry) {
if (time_after(jiffies, bp->link_info.phy_retry_expires)) {
bp->link_info.phy_retry = 0;
bp->link_info.phy_retry = false;
netdev_warn(bp->dev, "failed to update phy settings after maximum retries.\n");
} else {
set_bit(BNXT_UPDATE_PHY_SP_EVENT, &bp->sp_event);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment