Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42825
b: refs/heads/master
c: 8f63fdb
h: refs/heads/master
i:
  42823: 83bf530
v: v3
  • Loading branch information
Dave Jones authored and Linus Torvalds committed Dec 7, 2006
1 parent 88d0a8d commit c3ce304
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 5d469ec0f40d65b2a0a704402990a43b2dafe197
refs/heads/master: 8f63fdbbd6de7d734c036948bf7c4b2bebe3ad99
10 changes: 6 additions & 4 deletions trunk/lib/list_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ void __list_add(struct list_head *new,
struct list_head *next)
{
if (unlikely(next->prev != prev)) {
printk(KERN_ERR "list_add corruption. next->prev should be %p, but was %p\n",
prev, next->prev);
printk(KERN_ERR "list_add corruption. next->prev should be "
"prev (%p), but was %p. (next=%p).\n",
prev, next->prev, next);
BUG();
}
if (unlikely(prev->next != next)) {
printk(KERN_ERR "list_add corruption. prev->next should be %p, but was %p\n",
next, prev->next);
printk(KERN_ERR "list_add corruption. prev->next should be "
"next (%p), but was %p. (prev=%p).\n",
next, prev->next, prev);
BUG();
}
next->prev = new;
Expand Down

0 comments on commit c3ce304

Please sign in to comment.