浏览代码

security: fix ima kconfig warning

Fix IMA kconfig warning on non-X86 architectures:

warning: (IMA) selects TCG_TIS which has unmet direct dependencies
(TCG_TPM && X86)

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Randy Dunlap 13 年之前
父节点
当前提交
a69f158902
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      security/integrity/ima/Kconfig

+ 1 - 1
security/integrity/ima/Kconfig

@@ -10,7 +10,7 @@ config IMA
 	select CRYPTO_MD5
 	select CRYPTO_MD5
 	select CRYPTO_SHA1
 	select CRYPTO_SHA1
 	select TCG_TPM if HAS_IOMEM && !UML
 	select TCG_TPM if HAS_IOMEM && !UML
-	select TCG_TIS if TCG_TPM
+	select TCG_TIS if TCG_TPM && X86
 	help
 	help
 	  The Trusted Computing Group(TCG) runtime Integrity
 	  The Trusted Computing Group(TCG) runtime Integrity
 	  Measurement Architecture(IMA) maintains a list of hash
 	  Measurement Architecture(IMA) maintains a list of hash