iommu/arm-smmu-v3: replace symbolic permissions by octal permissions for module parameter
authorBarry Song <song.bao.hua@hisilicon.com>
Thu, 27 Aug 2020 09:29:55 +0000 (21:29 +1200)
committerWill Deacon <will@kernel.org>
Mon, 7 Sep 2020 13:17:17 +0000 (14:17 +0100)
commitfea9ae18cf77a79cb32046d7785d000a00a226cd
treeb9528f3c12b54cccdb0c48210987281868a7c6b6
parentdc898eb84b25c39ea46f28c48a169bdbd0e2c7e0
iommu/arm-smmu-v3: replace symbolic permissions by octal permissions for module parameter

This fixed the below checkpatch issue:
WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using
octal permissions '0444'.
417: FILE: drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:417:
module_param_named(disable_bypass, disable_bypass, bool, S_IRUGO);

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20200827092957.22500-2-song.bao.hua@hisilicon.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c