Commit f355bb51 authored by Bruce Allan's avatar Bruce Allan Committed by Jeff Kirsher

fm10k: use true/false for boolean get_host_state

Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Tested-by: default avatarKrishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent e6f244d4
...@@ -912,7 +912,7 @@ static irqreturn_t fm10k_msix_mbx_vf(int __always_unused irq, void *data) ...@@ -912,7 +912,7 @@ static irqreturn_t fm10k_msix_mbx_vf(int __always_unused irq, void *data)
fm10k_mbx_unlock(interface); fm10k_mbx_unlock(interface);
} }
hw->mac.get_host_state = 1; hw->mac.get_host_state = true;
fm10k_service_event_schedule(interface); fm10k_service_event_schedule(interface);
return IRQ_HANDLED; return IRQ_HANDLED;
...@@ -1128,7 +1128,7 @@ static irqreturn_t fm10k_msix_mbx_pf(int __always_unused irq, void *data) ...@@ -1128,7 +1128,7 @@ static irqreturn_t fm10k_msix_mbx_pf(int __always_unused irq, void *data)
} }
/* we should validate host state after interrupt event */ /* we should validate host state after interrupt event */
hw->mac.get_host_state = 1; hw->mac.get_host_state = true;
/* validate host state, and handle VF mailboxes in the service task */ /* validate host state, and handle VF mailboxes in the service task */
fm10k_service_event_schedule(interface); fm10k_service_event_schedule(interface);
...@@ -1635,7 +1635,7 @@ void fm10k_up(struct fm10k_intfc *interface) ...@@ -1635,7 +1635,7 @@ void fm10k_up(struct fm10k_intfc *interface)
netif_tx_start_all_queues(interface->netdev); netif_tx_start_all_queues(interface->netdev);
/* kick off the service timer now */ /* kick off the service timer now */
hw->mac.get_host_state = 1; hw->mac.get_host_state = true;
mod_timer(&interface->service_timer, jiffies); mod_timer(&interface->service_timer, jiffies);
} }
......
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