Message ID | E1qYl9q-006vDd-FJ@formenos.hmeau.com (mailing list archive) |
---|---|
State | Awaiting Upstream |
Headers | show |
Series | Do not include crypto/algapi.h | expand |
On Wed, Aug 23, 2023 at 06:32:15PM +0800, Herbert Xu wrote: > 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> > --- > > fs/crypto/keysetup_v1.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/crypto/keysetup_v1.c b/fs/crypto/keysetup_v1.c > index 75dabd9b27f9..d698ecb9ad44 100644 > --- a/fs/crypto/keysetup_v1.c > +++ b/fs/crypto/keysetup_v1.c > @@ -20,8 +20,8 @@ > * managed alongside the master keys in the filesystem-level keyring) > */ > > -#include <crypto/algapi.h> > #include <crypto/skcipher.h> > +#include <crypto/utils.h> > #include <keys/user-type.h> > #include <linux/hashtable.h> > #include <linux/scatterlist.h> Acked-by: Eric Biggers <ebiggers@google.com> - Eric
diff --git a/fs/crypto/keysetup_v1.c b/fs/crypto/keysetup_v1.c index 75dabd9b27f9..d698ecb9ad44 100644 --- a/fs/crypto/keysetup_v1.c +++ b/fs/crypto/keysetup_v1.c @@ -20,8 +20,8 @@ * managed alongside the master keys in the filesystem-level keyring) */ -#include <crypto/algapi.h> #include <crypto/skcipher.h> +#include <crypto/utils.h> #include <keys/user-type.h> #include <linux/hashtable.h> #include <linux/scatterlist.h>
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> --- fs/crypto/keysetup_v1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)