diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2012-03-05 23:59:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-06 00:49:43 +0100 |
commit | 9f78ff005a6b6313728247113948450b2adddde8 (patch) | |
tree | 91bf021b9d2d1a09ae74a39c11275aacaf6082f1 /mm | |
parent | floppy/scsi: fix setting of BIO flags (diff) | |
download | linux-9f78ff005a6b6313728247113948450b2adddde8.tar.xz linux-9f78ff005a6b6313728247113948450b2adddde8.zip |
debugobjects: Fix selftest for static warnings
debugobjects is now printing a warning when a fixup for a NOTAVAILABLE
object is run. This causes the selftest to fail like:
ODEBUG: selftest warnings failed 4 != 5
We could just increase the number of warnings that the selftest is
expecting to see because that is actually what has changed. But, it turns
out that fixup_activate() was written with inverted logic and thus a fixup
for a static object returned 1 indicating the object had been fixed, and 0
otherwise. Fix the logic to be correct and update the counts to reflect
that nothing needed fixing for a static object.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions