summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_vhci.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-10-13 18:51:14 +0200
committerWill Deacon <will.deacon@arm.com>2015-10-15 17:29:47 +0200
commitc0733a2cf30c1e7923b6ad4f8df67941502923de (patch)
treedb477bf821543a6c3da5000a2e531a49a77740fb /drivers/bluetooth/hci_vhci.c
parentiommu/arm-smmu: ThunderX mis-extends 64bit registers (diff)
downloadlinux-c0733a2cf30c1e7923b6ad4f8df67941502923de.tar.xz
linux-c0733a2cf30c1e7923b6ad4f8df67941502923de.zip
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>
Diffstat (limited to 'drivers/bluetooth/hci_vhci.c')
0 files changed, 0 insertions, 0 deletions