diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-09-05 06:07:49 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-09-07 23:03:11 +0200 |
commit | 8ae4dff882eb879c17bf46574201bd37fc6bc8b5 (patch) | |
tree | 734edf35dd686174131c78327776940dae30e314 /drivers/net/ethernet/ibm | |
parent | netdevice.h: fix xdp_state kernel-doc warning (diff) | |
download | linux-8ae4dff882eb879c17bf46574201bd37fc6bc8b5.tar.xz linux-8ae4dff882eb879c17bf46574201bd37fc6bc8b5.zip |
ibmvnic: add missing parenthesis in do_reset()
Indentation and logic clearly show that this code is missing
parenthesis.
Fixes: 9f1345737790 ("ibmvnic fix NULL tx_pools and rx_tools issue at do_reset")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/ibm')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index d3a774331afc..1b702a43a5d0 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -2032,16 +2032,18 @@ static int do_reset(struct ibmvnic_adapter *adapter, } else { rc = reset_tx_pools(adapter); - if (rc) + if (rc) { netdev_dbg(adapter->netdev, "reset tx pools failed (%d)\n", rc); goto out; + } rc = reset_rx_pools(adapter); - if (rc) + if (rc) { netdev_dbg(adapter->netdev, "reset rx pools failed (%d)\n", rc); goto out; + } } ibmvnic_disable_irqs(adapter); } |