[PATCH v2 07/19] fscrypt: Include <linux/once.h> in fs/crypto/keyring.c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: x86@xxxxxxxxxx, linux-crypto@xxxxxxxxxxxxxxx, intel-gfx@xxxxxxxxxxxxxxxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, linux-media@xxxxxxxxxxxxxxx, linux-mtd@xxxxxxxxxxxxxxxxxxx, linux-fscrypt@xxxxxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx, bpf@xxxxxxxxxxxxxxx, linux-kselftest@xxxxxxxxxxxxxxx, kunit-dev@xxxxxxxxxxxxxxxx
- Subject: [PATCH v2 07/19] fscrypt: Include <linux/once.h> in fs/crypto/keyring.c
- From: Uros Bizjak <ubizjak@xxxxxxxxx>
- Date: Mon, 9 Sep 2024 09:05:21 +0200
- In-reply-to: <20240909070742.75425-1-ubizjak@gmail.com>
- References: <20240909070742.75425-1-ubizjak@gmail.com>
Include <linux/once.h> header to allow the removal of legacy
inclusion of <linux/prandom.h> from <linux/random.h>.
Signed-off-by: Uros Bizjak <ubizjak@xxxxxxxxx>
Cc: Eric Biggers <ebiggers@xxxxxxxxxx>
Cc: "Theodore Y. Ts'o" <tytso@xxxxxxx>
Cc: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
---
v2: Include <linux/once.h> instead of <linux/prandom.h>
---
fs/crypto/keyring.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/crypto/keyring.c b/fs/crypto/keyring.c
index 6681a71625f0..82fcc5683649 100644
--- a/fs/crypto/keyring.c
+++ b/fs/crypto/keyring.c
@@ -22,6 +22,7 @@
#include <crypto/skcipher.h>
#include <linux/key-type.h>
#include <linux/random.h>
+#include <linux/once.h>
#include <linux/seq_file.h>
#include "fscrypt_private.h"
--
2.46.0
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]