]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/msi: Use WARN_ON() in msi bitmap selftests
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Oct 2014 08:04:25 +0000 (19:04 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Oct 2014 02:09:33 +0000 (13:09 +1100)
commit4a77f2bdbdef289a02bd02fac483a9350e039705
tree1bba1d405b333bd5b8a2d826ed3e4e8792943ddf
parent695911fb1f0e00aebe6c5636b9c08bf0fd51a2fd
powerpc/msi: Use WARN_ON() in msi bitmap selftests

As demonstrated in the previous commit, the failure message from the msi
bitmap selftests is a bit subtle, it's easy to miss a failure in a busy
boot log.

So drop our check() macro and use WARN_ON() instead. This necessitates
inverting all the conditions as well.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/msi_bitmap.c