You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.8 KiB
43 lines
1.8 KiB
5 years ago
|
From 2b001e35ef1204a73e8302ca35aebd297a3af6ab Mon Sep 17 00:00:00 2001
|
||
|
From: Jonathan Toppins <jtoppins@redhat.com>
|
||
|
Date: Fri, 6 Dec 2019 20:12:46 -0500
|
||
|
Subject: [PATCH 90/96] [netdrv] broadcom: bnxt: Fix use true/false for bool
|
||
|
|
||
|
Message-id: <65bbd7dd8c315df314e739ce0ad31e8bd157e734.1575651772.git.jtoppins@redhat.com>
|
||
|
Patchwork-id: 291387
|
||
|
O-Subject: [PATCH rhel8 06/13] broadcom: bnxt: Fix use true/false for bool
|
||
|
Bugzilla: 1773724
|
||
|
RH-Acked-by: Steve Best <sbest@redhat.com>
|
||
|
RH-Acked-by: David Arcari <darcari@redhat.com>
|
||
|
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
||
|
RH-Acked-by: John Linville <linville@redhat.com>
|
||
|
|
||
|
Use true/false for bool type in bnxt_timer function.
|
||
|
|
||
|
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
|
||
|
Acked-by: Michael Chan <michael.chan@broadcom.com>
|
||
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
||
|
(cherry picked from commit acda6180e86ba9e0026287d65f30d1e2b0c8882a)
|
||
|
Bugzilla: 1773724
|
||
|
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=25154853
|
||
|
Tested: simple boot test
|
||
|
Signed-off-by: Jonathan Toppins <jtoppins@redhat.com>
|
||
|
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
|
||
|
---
|
||
|
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
Index: src/drivers/net/ethernet/broadcom/bnxt/bnxt.c
|
||
|
===================================================================
|
||
|
--- src.orig/drivers/net/ethernet/broadcom/bnxt/bnxt.c 2020-02-06 16:23:22.325452432 +0100
|
||
|
+++ src/drivers/net/ethernet/broadcom/bnxt/bnxt.c 2020-02-06 16:23:22.451451275 +0100
|
||
|
@@ -10009,7 +10009,7 @@
|
||
|
|
||
|
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);
|