Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22850
b: refs/heads/master
c: 58e9ff5
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Mar 21, 2006
1 parent 2b9fb5b commit a68b209
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: ae92dc9f7bc9018f1d043f102747a1f1e4dd96fb
refs/heads/master: 58e9ff56382bdce340d50b6ff22c422dc617106c
2 changes: 1 addition & 1 deletion trunk/arch/arm/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
if (ret < 0)
return ret;

counter_config = kmalloc(sizeof(struct op_counter_config) * spec->num_counters,
counter_config = kcalloc(spec->num_counters, sizeof(struct op_counter_config),
GFP_KERNEL);
if (!counter_config)
return -ENOMEM;
Expand Down

0 comments on commit a68b209

Please sign in to comment.