diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-05-30 00:07:31 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-30 01:22:32 +0200 |
commit | 17a801f4bfeb8d55df1b05fa7adb16ada504e765 (patch) | |
tree | 7aa3a8683c48ff5d5c5fd987f0edbc34171ddb7e /lib/test-kstrtox.c | |
parent | leds: add LM3533 LED driver (diff) | |
download | linux-17a801f4bfeb8d55df1b05fa7adb16ada504e765.tar.xz linux-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 <cmetcalf@tilera.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test-kstrtox.c')
0 files changed, 0 insertions, 0 deletions