Will Deacon c0733a2cf3 iommu/arm-smmu: Fix error checking for ASID and VMID allocation
The bitmap allocator returns an int, which is one of the standard
negative values on failure. Rather than assigning this straight to a
u16 (like we do for the ASID and VMID callers), which means that we
won't detect failure correctly, use an int for the purposes of error
checking.

Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-10-15 16:29:47 +01:00
..
2015-06-23 18:27:19 -07:00
2015-06-23 18:27:19 -07:00
2015-02-03 18:47:18 +01:00
2015-08-17 08:13:26 -06:00
2015-07-28 15:48:01 +01:00