From: Michael Ellerman Date: Fri, 10 Oct 2014 08:04:24 +0000 (+1100) Subject: powerpc/msi: Fix the msi bitmap alignment tests X-Git-Tag: fixes-against-v3.18-rc2~26^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=695911fb1f0e00aebe6c5636b9c08bf0fd51a2fd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed