Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63546
b: refs/heads/master
c: cc60d8b
h: refs/heads/master
v: v3
  • Loading branch information
Mariusz Kozlowski authored and Bartlomiej Zolnierkiewicz committed Aug 1, 2007
1 parent 6763872 commit e24946f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: ab0579685d34eb2c6b101534796ba64c8b9107b5
refs/heads/master: cc60d8baa35c995bf8c40a9730b894993ddb43b9
3 changes: 1 addition & 2 deletions trunk/drivers/ide/arm/icside.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,13 +693,12 @@ icside_probe(struct expansion_card *ec, const struct ecard_id *id)
if (ret)
goto out;

state = kmalloc(sizeof(struct icside_state), GFP_KERNEL);
state = kzalloc(sizeof(struct icside_state), GFP_KERNEL);
if (!state) {
ret = -ENOMEM;
goto release;
}

memset(state, 0, sizeof(state));
state->type = ICS_TYPE_NOTYPE;
state->dev = &ec->dev;

Expand Down

0 comments on commit e24946f

Please sign in to comment.