commit | 695911fb1f0e00aebe6c5636b9c08bf0fd51a2fd | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Fri Oct 10 19:04:24 2014 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Oct 15 13:09:32 2014 +1100 |
tree | c211272ee81a84b6134e4754cccd8d5529676a6c | |
parent | 179ea48bc7c04dba3526d66d9f358c2f4f3b3776 [diff] |
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: b0345bbc6d09 ("powerpc/msi: Improve IRQ bitmap allocator") Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>