Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202606
b: refs/heads/master
c: 589be65
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and David S. Miller committed Jun 1, 2010
1 parent 43f4fb0 commit 866d7ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: de47f07264b287f7b1b2ec0e06da98e1c199cd0d
refs/heads/master: 589be6500560c70f4873f8c1fb66671624944433
10 changes: 5 additions & 5 deletions trunk/drivers/net/tulip/eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ static void __devinit tulip_build_fake_mediatable(struct tulip_private *tp)
0x00, 0x06 /* ttm bit map */
};

tp->mtable = (struct mediatable *)
kmalloc(sizeof(struct mediatable) + sizeof(struct medialeaf), GFP_KERNEL);
tp->mtable = kmalloc(sizeof(struct mediatable) +
sizeof(struct medialeaf), GFP_KERNEL);

if (tp->mtable == NULL)
return; /* Horrible, impossible failure. */
Expand Down Expand Up @@ -227,9 +227,9 @@ void __devinit tulip_parse_eeprom(struct net_device *dev)
return;
}

mtable = (struct mediatable *)
kmalloc(sizeof(struct mediatable) + count*sizeof(struct medialeaf),
GFP_KERNEL);
mtable = kmalloc(sizeof(struct mediatable) +
count * sizeof(struct medialeaf),
GFP_KERNEL);
if (mtable == NULL)
return; /* Horrible, impossible failure. */
last_mediatable = tp->mtable = mtable;
Expand Down

0 comments on commit 866d7ed

Please sign in to comment.