Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195977
b: refs/heads/master
c: d80f266
h: refs/heads/master
i:
  195975: 020eac8
v: v3
  • Loading branch information
Julia Lawall authored and David Woodhouse committed May 15, 2010
1 parent 01c4643 commit da4269a
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: abab7ebf8cc12a6bb03d06b103a49e97276168f0
refs/heads/master: d80f2666b5373f195deae57c9f33a5abb8053d37
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/mtdconcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,9 @@ concat_writev(struct mtd_info *mtd, const struct kvec *vecs,
}

/* make a copy of vecs */
vecs_copy = kmalloc(sizeof(struct kvec) * count, GFP_KERNEL);
vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL);
if (!vecs_copy)
return -ENOMEM;
memcpy(vecs_copy, vecs, sizeof(struct kvec) * count);

entry_low = 0;
for (i = 0; i < concat->num_subdev; i++) {
Expand Down

0 comments on commit da4269a

Please sign in to comment.