Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294161
b: refs/heads/master
c: 2a14d7d
h: refs/heads/master
i:
  294159: 255a80a
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Feb 10, 2012
1 parent 7a828e9 commit c8b1d07
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: 8a892d6996b60c822f19ad1844eb15b96ce393c7
refs/heads/master: 2a14d7d9b7439fe62082a60a7f8983ccb463d134
2 changes: 1 addition & 1 deletion trunk/drivers/base/regmap/regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ int regmap_register_patch(struct regmap *map, const struct reg_default *regs,
}
}

map->patch = kcalloc(sizeof(struct reg_default), num_regs, GFP_KERNEL);
map->patch = kcalloc(num_regs, sizeof(struct reg_default), GFP_KERNEL);
if (map->patch != NULL) {
memcpy(map->patch, regs,
num_regs * sizeof(struct reg_default));
Expand Down

0 comments on commit c8b1d07

Please sign in to comment.