diff options
author | Sankar Patchineelam <sankar.patchineelam@broadcom.com> | 2017-03-29 01:47:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-29 23:05:33 +0200 |
commit | 23e12c893489ed12ecfccbf866fc62af1bead4b0 (patch) | |
tree | 0e8cb1a6c343a9c417361f7bdd9a0bf036b6ac72 /drivers | |
parent | bnxt_en: Fix NULL pointer dereference in reopen failure path (diff) | |
download | linux-23e12c893489ed12ecfccbf866fc62af1bead4b0.tar.xz linux-23e12c893489ed12ecfccbf866fc62af1bead4b0.zip |
bnxt_en: Correct the order of arguments to netdev_err() in bnxt_set_tpa()
Signed-off-by: Sankar Patchineelam <sankar.patchineelam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index 7ee772483f26..6c8568780a6a 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -4744,7 +4744,7 @@ static int bnxt_set_tpa(struct bnxt *bp, bool set_tpa) rc = bnxt_hwrm_vnic_set_tpa(bp, i, tpa_flags); if (rc) { netdev_err(bp->dev, "hwrm vnic set tpa failure rc for vnic %d: %x\n", - rc, i); + i, rc); return rc; } } |