summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorSankar Patchineelam <sankar.patchineelam@broadcom.com>2017-03-29 02:47:30 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-30 00:05:33 +0300
commit23e12c893489ed12ecfccbf866fc62af1bead4b0 (patch)
tree0e8cb1a6c343a9c417361f7bdd9a0bf036b6ac72 /drivers/net
parent2247925f0942dc4e7c09b1cde45ca18461d94c5f (diff)
downloadlinux-23e12c893489ed12ecfccbf866fc62af1bead4b0.tar.xz
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/net')
-rw-r--r--drivers/net/ethernet/broadcom/bnxt/bnxt.c2
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;
}
}