Skip to content

Commit acda618

Browse files
Saurav-Girepunjedavem330
authored andcommitted
broadcom: bnxt: Fix use true/false for bool
Use true/false for bool type in bnxt_timer function. Signed-off-by: Saurav Girepunje <[email protected]> Acked-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent cb5ff33 commit acda618

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/broadcom/bnxt

1 file changed

+1
-1
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10004,7 +10004,7 @@ static void bnxt_timer(struct timer_list *t)
1000410004

1000510005
if (bp->link_info.phy_retry) {
1000610006
if (time_after(jiffies, bp->link_info.phy_retry_expires)) {
10007-
bp->link_info.phy_retry = 0;
10007+
bp->link_info.phy_retry = false;
1000810008
netdev_warn(bp->dev, "failed to update phy settings after maximum retries.\n");
1000910009
} else {
1001010010
set_bit(BNXT_UPDATE_PHY_SP_EVENT, &bp->sp_event);

0 commit comments

Comments
 (0)