Skip to content
Commit 3c18d4de authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Expand CONFIG_DEBUG_LIST to several other list operations



When list debugging is enabled, we aim to readably show list corruption
errors, and the basic list_add/list_del operations end up having extra
debugging code in them to do some basic validation of the list entries.

However, "list_del_init()" and "list_move[_tail]()" ended up avoiding
the debug code due to how they were written. This fixes that.

So the _next_ time we have list_move() problems with stale list entries,
we'll hopefully have an easier time finding them..

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2a324ce7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment