Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36189
b: refs/heads/master
c: 1183dc9
h: refs/heads/master
i:
  36187: cc1c373
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Sep 27, 2006
1 parent d4b868f commit a32eb60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: c1b4098d4852f823ecf1abb2d369cb1beb902653
refs/heads/master: 1183dc943cae8b0fddca0b310c26052b2355e04b
9 changes: 5 additions & 4 deletions trunk/arch/um/drivers/net_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,20 +561,21 @@ static int eth_setup(char *str)
int n, err;

err = eth_parse(str, &n, &str);
if(err) return(1);
if(err)
return 1;

new = alloc_bootmem(sizeof(new));
new = alloc_bootmem(sizeof(*new));
if (new == NULL){
printk("eth_init : alloc_bootmem failed\n");
return(1);
return 1;
}

INIT_LIST_HEAD(&new->list);
new->index = n;
new->init = str;

list_add_tail(&new->list, &eth_cmd_line);
return(1);
return 1;
}

__setup("eth", eth_setup);
Expand Down

0 comments on commit a32eb60

Please sign in to comment.