Thread (29 messages) 29 messages, 11 authors, 2023-08-28

Re: [PATCH 4/12] ceph: Do not include crypto/algapi.h

From: Ilya Dryomov <idryomov@gmail.com>
Date: 2023-08-23 20:53:56
Also in: ceph-devel, linux-bluetooth, linux-crypto, linux-fscrypt, linux-integrity, linux-nfs, linux-wireless

On Wed, Aug 23, 2023 at 12:32 PM Herbert Xu [off-list ref] wrote:
quoted hunk ↗ jump to hunk
The header file crypto/algapi.h is for internal use only.  Use the
header file crypto/utils.h instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
---

 net/ceph/messenger_v2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ceph/messenger_v2.c b/net/ceph/messenger_v2.c
index 1a888b86a494..4aab32144833 100644
--- a/net/ceph/messenger_v2.c
+++ b/net/ceph/messenger_v2.c
@@ -8,9 +8,9 @@
 #include <linux/ceph/ceph_debug.h>

 #include <crypto/aead.h>
-#include <crypto/algapi.h>  /* for crypto_memneq() */
 #include <crypto/hash.h>
 #include <crypto/sha2.h>
+#include <crypto/utils.h>
 #include <linux/bvec.h>
 #include <linux/crc32c.h>
 #include <linux/net.h>
Applied.

Thanks,

                Ilya
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help