Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73715
b: refs/heads/master
c: be21f0a
h: refs/heads/master
i:
  73713: e188b26
  73711: 0b1b4d8
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Nov 15, 2007
1 parent 76a2182 commit 0217108
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d5cd97872dca9b79c31224ca014bcea7ca01f5f1
refs/heads/master: be21f0ab0d8f10c90265066603a8d95b6037a6fa
4 changes: 2 additions & 2 deletions trunk/mm/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ void *krealloc(const void *p, size_t new_size, gfp_t flags)
return (void *)p;

ret = kmalloc_track_caller(new_size, flags);
if (ret) {
memcpy(ret, p, min(new_size, ks));
if (ret && p) {
memcpy(ret, p, ks);
kfree(p);
}
return ret;
Expand Down

0 comments on commit 0217108

Please sign in to comment.