From: "Herbert Xu" <herbert@gondor.apana.org.au>
To: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
Eric Biggers <ebiggers@kernel.org>,
Theodore Y. Ts'o <tytso@mit.edu>,
Jaegeuk Kim <jaegeuk@kernel.org>,
linux-fscrypt@vger.kernel.org,
Richard Weinberger <richard@nod.at>,
linux-mtd@lists.infradead.org,
Marcel Holtmann <marcel@holtmann.org>,
Johan Hedberg <johan.hedberg@gmail.com>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
linux-bluetooth@vger.kernel.org,
Ilya Dryomov <idryomov@gmail.com>, Xiubo Li <xiubli@redhat.com>,
Jeff Layton <jlayton@kernel.org>,
ceph-devel@vger.kernel.org,
Steffen Klassert <steffen.klassert@secunet.com>,
"David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org,
Matthieu Baerts <matthieu.baerts@tessares.net>,
Mat Martineau <martineau@kernel.org>,
Chuck Lever <chuck.lever@oracle.com>,
Jeff Layton <jlayton@kernel.org>, Neil Brown <neilb@suse.de>,
linux-nfs@vger.kernel.org, Mimi Zohar <zohar@linux.ibm.com>,
linux-integrity@vger.kernel.org,
Jason A. Donenfeld <Jason@zx2c4.com>,
Ayush Sawal <ayush.sawal@chelsio.com>
Subject: [PATCH 12/12] chelsio: Do not include crypto/algapi.h
Date: Wed, 23 Aug 2023 18:32:38 +0800 [thread overview]
Message-ID: <E1qYlAD-006vK0-FV@formenos.hmeau.com> (raw)
In-Reply-To: ZOXf3JTIqhRLbn5j@gondor.apana.org.au
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>
---
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c | 2 --
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.h | 1 -
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h | 1 -
3 files changed, 4 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c b/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
index 3731c93f8f95..c7338ac6a5bb 100644
--- a/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
+++ b/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
@@ -39,7 +39,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/crypto.h>
#include <linux/skbuff.h>
#include <linux/rtnetlink.h>
#include <linux/highmem.h>
@@ -49,7 +48,6 @@
#include <net/esp.h>
#include <net/xfrm.h>
#include <crypto/aes.h>
-#include <crypto/algapi.h>
#include <crypto/hash.h>
#include <crypto/sha1.h>
#include <crypto/sha2.h>
diff --git a/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.h b/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.h
index 1d110d2edd64..0d42e7d15714 100644
--- a/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.h
+++ b/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.h
@@ -4,7 +4,6 @@
#ifndef __CHCR_IPSEC_H__
#define __CHCR_IPSEC_H__
-#include <crypto/algapi.h>
#include "t4_hw.h"
#include "cxgb4.h"
#include "t4_msg.h"
diff --git a/drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h b/drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h
index 68562a82d036..d6a51d75a66f 100644
--- a/drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h
+++ b/drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h
@@ -7,7 +7,6 @@
#define __CHTLS_H__
#include <crypto/aes.h>
-#include <crypto/algapi.h>
#include <crypto/hash.h>
#include <crypto/sha1.h>
#include <crypto/sha2.h>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
prev parent reply other threads:[~2023-08-23 10:32 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-23 10:30 [PATCH 0/12] Do not include crypto/algapi.h Herbert Xu
2023-08-23 10:32 ` [PATCH 1/12] fscrypt: " Herbert Xu
2023-08-25 21:13 ` Eric Biggers
2023-08-23 10:32 ` [PATCH 2/12] ubifs: " Herbert Xu
2023-08-26 6:58 ` kernel test robot
2023-08-26 8:36 ` [PATCH] KEYS: Include linux/errno.h in linux/verification.h Herbert Xu
2023-08-28 9:33 ` Daniel Borkmann
2023-08-27 1:40 ` [PATCH 2/12] ubifs: Do not include crypto/algapi.h kernel test robot
2023-08-23 10:32 ` [PATCH 3/12] Bluetooth: " Herbert Xu
2023-08-25 21:23 ` Luiz Augusto von Dentz
2023-08-23 10:32 ` [PATCH 4/12] ceph: " Herbert Xu
2023-08-23 20:53 ` Ilya Dryomov
2023-08-23 10:32 ` [PATCH 5/12] ah: " Herbert Xu
2023-08-23 10:32 ` [PATCH 6/12] wifi: mac80211: " Herbert Xu
2023-08-23 10:34 ` Johannes Berg
2023-08-24 5:10 ` Herbert Xu
2023-08-24 6:59 ` Johannes Berg
2023-08-24 8:45 ` Herbert Xu
2023-08-23 10:32 ` [PATCH 7/12] mptcp: " Herbert Xu
2023-08-23 12:53 ` Matthieu Baerts
2023-08-23 10:32 ` [PATCH 8/12] SUNRPC: " Herbert Xu
2023-08-23 13:44 ` Chuck Lever
2023-08-23 10:32 ` [PATCH 9/12] evm: " Herbert Xu
2023-08-24 23:57 ` Mimi Zohar
2023-08-23 10:32 ` [PATCH 10/12] KEYS: encrypted: " Herbert Xu
2023-08-24 23:57 ` Mimi Zohar
2023-08-23 10:32 ` [PATCH 11/12] wireguard: " Herbert Xu
2023-08-23 11:48 ` Jason A. Donenfeld
2023-08-23 10:32 ` Herbert Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1qYlAD-006vK0-FV@formenos.hmeau.com \
--to=herbert@gondor.apana.org.au \
--cc=Jason@zx2c4.com \
--cc=ayush.sawal@chelsio.com \
--cc=ceph-devel@vger.kernel.org \
--cc=chuck.lever@oracle.com \
--cc=davem@davemloft.net \
--cc=ebiggers@kernel.org \
--cc=idryomov@gmail.com \
--cc=jaegeuk@kernel.org \
--cc=jlayton@kernel.org \
--cc=johan.hedberg@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-fscrypt@vger.kernel.org \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-nfs@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=martineau@kernel.org \
--cc=matthieu.baerts@tessares.net \
--cc=neilb@suse.de \
--cc=netdev@vger.kernel.org \
--cc=richard@nod.at \
--cc=steffen.klassert@secunet.com \
--cc=tytso@mit.edu \
--cc=xiubli@redhat.com \
--cc=zohar@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox