Thread (6 messages) 6 messages, 2 authors, 2018-06-29

[PATCH] tpm: require to compile as part of the kernel

From: jgg@ziepe.ca (Jason Gunthorpe)
Date: 2018-06-29 18:10:04
Also in: linux-integrity, lkml

On Fri, Jun 29, 2018 at 08:47:43PM +0300, Jarkko Sakkinen wrote:
On Fri, Jun 29, 2018 at 09:31:41AM -0600, Jason Gunthorpe wrote:
quoted
quoted
-#if defined(CONFIG_TCG_TPM) || defined(CONFIG_TCG_TPM_MODULE)
-
+#if defined(CONFIG_TCG_TPM)
Huh. This new version is certainly right
Hmm...

If the option is kept as tristate, shouldn't this be actually:

#if defined(CONFIG_TCG_TPM) && !defined(CONFIG_TCG_TPM_MODULE)

?
Er, yes, it should be writte as

#if IS_ENABLED(CONFIG_TCG_TPM)

these days

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help