]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
bnxt_en: Correct the order of arguments to netdev_err() in bnxt_set_tpa()
authorSankar Patchineelam <sankar.patchineelam@broadcom.com>
Tue, 28 Mar 2017 23:47:30 +0000 (19:47 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 21:05:33 +0000 (14:05 -0700)
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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c

index 7ee772483f26d92a6d4b76e26d8286f45c01d51b..6c8568780a6a1f00464adffe5f95c8149558757d 100644 (file)
@@ -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;
                }
        }