Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105780
b: refs/heads/master
c: c82dd53
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 25, 2008
1 parent 262b91d commit bc45669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 3d6f4a20cc287a8980c6186624834cf10a70752b
refs/heads/master: c82dd5321cf779f1f536ef26b383cbe8c9de7f10
2 changes: 1 addition & 1 deletion trunk/drivers/mfd/mfd-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static int mfd_add_device(struct platform_device *parent,
if (ret)
goto fail_device;

memzero(res, sizeof(res));
memset(res, 0, sizeof(res));
for (r = 0; r < cell->num_resources; r++) {
res[r].name = cell->resources[r].name;
res[r].flags = cell->resources[r].flags;
Expand Down

0 comments on commit bc45669

Please sign in to comment.