diff options
author | Baruch Siach <[email protected]> | 2010-08-09 17:20:53 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-08-09 20:45:08 -0700 |
commit | e3f76e3386ee38e3654e81c2f3933ccca1f2d639 (patch) | |
tree | 180f192f01aca166b30a1f1a119e9d0e9fb3714b /lib/flex_array.c | |
parent | 55817d3d5c480f96589359c10ad93fa2e707a029 (diff) |
list debugging: warn when deleting a deleted entry
Use the magic LIST_POISON* values to detect an incorrect use of list_del
on a deleted entry. This DEBUG_LIST specific warning is easier to
understand than the generic Oops message caused by LIST_POISON
dereference.
Signed-off-by: Baruch Siach <[email protected]>
Cc: Dave Jones <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions