aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorChris Metcalf <[email protected]>2012-05-29 22:07:31 +0000
committerLinus Torvalds <[email protected]>2012-05-29 23:22:32 +0000
commit17a801f4bfeb8d55df1b05fa7adb16ada504e765 (patch)
tree7aa3a8683c48ff5d5c5fd987f0edbc34171ddb7e /lib/string_helpers.c
parentleds: add LM3533 LED driver (diff)
downloadkernel-17a801f4bfeb8d55df1b05fa7adb16ada504e765.tar.gz
kernel-17a801f4bfeb8d55df1b05fa7adb16ada504e765.zip
list_debug: WARN for adding something already in the list
We were bitten by this at one point and added an additional sanity test for DEBUG_LIST. You can't validly add a list_head to a list where either prev or next is the same as the thing you're adding. Signed-off-by: Chris Metcalf <[email protected]> Cc: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions