linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwrng: cctrng - add missing include to linux/fips.h
@ 2020-04-17 20:38 Hadar Gat
  2020-04-17 21:34 ` Randy Dunlap
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Hadar Gat @ 2020-04-17 20:38 UTC (permalink / raw)
  To: Hadar Gat, Matt Mackall, Herbert Xu, Arnd Bergmann, Greg Kroah-Hartman
  Cc: Gilad Ben-Yossef, Ofir Drang, linux-crypto, linux-kernel

This fixes build failure when CONFIG_CRYPTO_FIPS is defined.

Signed-off-by: Hadar Gat <hadar.gat@arm.com>
---
 drivers/char/hw_random/cctrng.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/char/hw_random/cctrng.c b/drivers/char/hw_random/cctrng.c
index bdcd562..e82716c 100644
--- a/drivers/char/hw_random/cctrng.c
+++ b/drivers/char/hw_random/cctrng.c
@@ -15,6 +15,7 @@
 #include <linux/completion.h>
 #include <linux/of.h>
 #include <linux/bitfield.h>
+#include <linux/fips.h>
 
 #include "cctrng.h"
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-20  8:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 20:38 [PATCH] hwrng: cctrng - add missing include to linux/fips.h Hadar Gat
2020-04-17 21:34 ` Randy Dunlap
2020-04-20  8:22 ` Herbert Xu
2020-04-20  8:28 ` hwrng: cctrng - Remove unnecessary FIPS ifdef Herbert Xu
2020-04-20  8:36   ` Hadar Gat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).