Skip to content
Commit 695911fb authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/msi: Fix the msi bitmap alignment tests

When we added the alignment tests recently we failed to check they were
actually passing - oops.

They weren't passing, because the bitmap was full. We should also be a
bit more careful when checking the return code, a negative error return
could by divisible by our alignment value.

Fixes: b0345bbc

 ("powerpc/msi: Improve IRQ bitmap allocator")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 179ea48b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment