broadcom: bnxt: Fix use true/false for bool
PATCH 1/1 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]>
--- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/broadcom/bnxt/bnxt.c +1 -1
@@ -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);
Signature · 1 line
2.20.1
Quoted 4 lines · Saurav Girepunje
Use true/false for bool type in
bnxt_timerfunction.Signed-off-by Saurav Girepunje <[email protected]>
Acked-by Michael Chan <[email protected]>
From: Saurav Girepunje <[email protected]>
Date: Tue, 29 Oct 2019 01:46:35 +0530
Quoted 3 lines
Use true/false for bool type in
bnxt_timerfunction.Signed-off-by Saurav Girepunje <[email protected]>
Applied.