mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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]>
This commit is contained in:
parent
acf7f76b64
commit
6323f47490
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue