From: Alexander Popov Date: Wed, 18 Mar 2020 11:27:45 +0000 (+0300) Subject: Style fix X-Git-Tag: v0.5.5~10 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c936e092adbb8de81b00c11699d895e005a5b372;p=kconfig-hardened-check.git Style fix --- diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index 3b9a254..c5a5491 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -236,7 +236,7 @@ def construct_checklist(checklist, arch): OptCheck('DEBUG_SET_MODULE_RONX', 'y', 'defconfig', 'self_protection'), \ modules_not_set)) # DEBUG_SET_MODULE_RONX was before v4.11 checklist.append(OptCheck('GCC_PLUGINS', 'y', 'defconfig', 'self_protection')) - checklist.append(OR(OptCheck('REFCOUNT_FULL', 'y', 'defconfig', 'self_protection'), \ + checklist.append(OR(OptCheck('REFCOUNT_FULL', 'y', 'defconfig', 'self_protection'), \ VerCheck((5, 5)))) # REFCOUNT_FULL is enabled by default since v5.5 iommu_support_is_set = OptCheck('IOMMU_SUPPORT', 'y', 'defconfig', 'self_protection') # is needed for mitigating DMA attacks checklist.append(iommu_support_is_set)