Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106197
b: refs/heads/master
c: 4c8573e
h: refs/heads/master
i:
  106195: c795c0d
v: v3
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Jul 26, 2008
1 parent 0da3243 commit 8d1185c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: b8c512f6190e313df69060bae4a161c5c044e272
refs/heads/master: 4c8573e25f27b60b495aaa23089032f685ffd5ba
6 changes: 2 additions & 4 deletions trunk/mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,16 +381,14 @@ static void __vunmap(const void *addr, int deallocate_pages)
return;

if ((PAGE_SIZE-1) & (unsigned long)addr) {
printk(KERN_ERR "Trying to vfree() bad address (%p)\n", addr);
WARN_ON(1);
WARN(1, KERN_ERR "Trying to vfree() bad address (%p)\n", addr);
return;
}

area = remove_vm_area(addr);
if (unlikely(!area)) {
printk(KERN_ERR "Trying to vfree() nonexistent vm area (%p)\n",
WARN(1, KERN_ERR "Trying to vfree() nonexistent vm area (%p)\n",
addr);
WARN_ON(1);
return;
}

Expand Down

0 comments on commit 8d1185c

Please sign in to comment.