aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEilon Greenstein2009-03-02 08:01:05 +0000
committerDavid S. Miller2009-03-02 22:32:46 -0800
commitc016201c5c6520abfcbd0c539fbf2524dd431ce6 (patch)
tree9131a208ad75cb35fb8005d8402422fa844ae223
parent8660d8c3abd988d1601b78046733450cc3554a35 (diff)
bnx2x: Whitespace
Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/bnx2x_init.h4
-rw-r--r--drivers/net/bnx2x_main.c1
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)
static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, const u32 *data,
u32 len64)
{
- u32 buf_len32 = FW_BUF_SIZE/4;
- u32 len = len64*2;
+ u32 buf_len32 = FW_BUF_SIZE / 4;
+ u32 len = len64 * 2;
u64 data64 = 0;
int i;
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,
(bnx2x_get_pcie_speed(bp) == 2) ? "5GHz (Gen2)" : "2.5GHz",
dev->base_addr, bp->pdev->irq);
printk(KERN_CONT "node addr %pM\n", dev->dev_addr);
+
return 0;
init_one_exit: