diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-10 10:04:24 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-15 04:09:32 +0200 |
commit | 695911fb1f0e00aebe6c5636b9c08bf0fd51a2fd (patch) | |
tree | c211272ee81a84b6134e4754cccd8d5529676a6c /fs/sync.c | |
parent | powerpc/eeh: Block CFG upon frozen Shiner adapter (diff) | |
download | linux-695911fb1f0e00aebe6c5636b9c08bf0fd51a2fd.tar.xz linux-695911fb1f0e00aebe6c5636b9c08bf0fd51a2fd.zip |
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>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions