diff options
author | Peng Fan <[email protected]> | 2017-04-21 17:03:36 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2017-04-25 14:26:05 +0200 |
commit | 6323f474902e372623d73486c1ad30eb40d6604f (patch) | |
tree | 1a296e0828ff3ccadbc1f4414b5abef55555dd34 | |
parent | acf7f76b6466837ccbbcf7bb85b411d56c7df2ea (diff) |
iommu/arm-smmu: Correct sid to mask
From code "SMR mask 0x%x out of range for SMMU", so, we need to use mask, not
sid.
Signed-off-by: Peng Fan <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Robin Murphy <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
-rw-r--r-- | drivers/iommu/arm-smmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index dbd4998661c6..77242afa1efc 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -1535,7 +1535,7 @@ static int arm_smmu_add_device(struct device *dev) } if (mask & ~smmu->smr_mask_mask) { dev_err(dev, "SMR mask 0x%x out of range for SMMU (0x%x)\n", - sid, smmu->smr_mask_mask); + mask, smmu->smr_mask_mask); goto out_free; } } |