From: Alexander Popov Date: Sat, 19 Jun 2021 15:42:02 +0000 (+0300) Subject: Fix pylint warning X-Git-Tag: v0.5.10~1 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=68622ad2d4c9ff86e2084a8e0bcf93e28043847c;hp=25cb2389d0d47892e472f7b66c39597ddf41a278;p=kconfig-hardened-check.git Fix pylint warning --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index e47c5d4..ebd0e05 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -321,7 +321,7 @@ def construct_checklist(l, arch): l += [OptCheck('self_protection', 'defconfig', 'ARM64_PTR_AUTH', 'y')] l += [OptCheck('self_protection', 'defconfig', 'ARM64_BTI_KERNEL', 'y')] l += [OR(OptCheck('self_protection', 'defconfig', 'HARDEN_BRANCH_PREDICTOR', 'y'), - VerCheck((5, 10)))] # HARDEN_BRANCH_PREDICTOR is enabled by default since v5.10 + VerCheck((5, 10)))] # HARDEN_BRANCH_PREDICTOR is enabled by default since v5.10 if arch == 'ARM': l += [OptCheck('self_protection', 'defconfig', 'CPU_SW_DOMAIN_PAN', 'y')] l += [OptCheck('self_protection', 'defconfig', 'HARDEN_BRANCH_PREDICTOR', 'y')]