diff options
-rw-r--r-- | drivers/net/bnx2x_init.h | 4 | ||||
-rw-r--r-- | drivers/net/bnx2x_main.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h index 5362d5a42acb..39ba2936c0c2 100644 --- a/drivers/net/bnx2x_init.h +++ b/drivers/net/bnx2x_init.h | |||
@@ -186,8 +186,8 @@ static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, u32 len) | |||
186 | static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, const u32 *data, | 186 | static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, const u32 *data, |
187 | u32 len64) | 187 | u32 len64) |
188 | { | 188 | { |
189 | u32 buf_len32 = FW_BUF_SIZE/4; | 189 | u32 buf_len32 = FW_BUF_SIZE / 4; |
190 | u32 len = len64*2; | 190 | u32 len = len64 * 2; |
191 | u64 data64 = 0; | 191 | u64 data64 = 0; |
192 | int i; | 192 | int i; |
193 | 193 | ||
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 5397de1fc8d2..bb9d53966fc1 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -11048,6 +11048,7 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev, | |||
11048 | (bnx2x_get_pcie_speed(bp) == 2) ? "5GHz (Gen2)" : "2.5GHz", | 11048 | (bnx2x_get_pcie_speed(bp) == 2) ? "5GHz (Gen2)" : "2.5GHz", |
11049 | dev->base_addr, bp->pdev->irq); | 11049 | dev->base_addr, bp->pdev->irq); |
11050 | printk(KERN_CONT "node addr %pM\n", dev->dev_addr); | 11050 | printk(KERN_CONT "node addr %pM\n", dev->dev_addr); |
11051 | |||
11051 | return 0; | 11052 | return 0; |
11052 | 11053 | ||
11053 | init_one_exit: | 11054 | init_one_exit: |