Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: ccp - Add missing header inclusions

The gutting of crypto/ctr.h uncovered missing header inclusions.
Add them.

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

Herbert Xu 6611dcd5 ab0f46ce

+24 -19
+8 -7
drivers/crypto/ccp/ccp-crypto-aes.c
··· 7 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 8 */ 9 9 10 - #include <linux/module.h> 11 - #include <linux/sched.h> 12 - #include <linux/delay.h> 13 - #include <linux/scatterlist.h> 14 - #include <linux/crypto.h> 15 - #include <crypto/algapi.h> 16 10 #include <crypto/aes.h> 17 11 #include <crypto/ctr.h> 18 - #include <crypto/scatterwalk.h> 12 + #include <crypto/internal/skcipher.h> 13 + #include <linux/err.h> 14 + #include <linux/kernel.h> 15 + #include <linux/list.h> 16 + #include <linux/module.h> 17 + #include <linux/scatterlist.h> 18 + #include <linux/slab.h> 19 + #include <linux/string.h> 19 20 20 21 #include "ccp-crypto.h" 21 22
+8 -7
drivers/crypto/ccp/ccp-crypto-des3.c
··· 7 7 * Author: Gary R Hook <ghook@amd.com> 8 8 */ 9 9 10 - #include <linux/module.h> 11 - #include <linux/sched.h> 12 - #include <linux/delay.h> 13 - #include <linux/scatterlist.h> 14 - #include <linux/crypto.h> 15 - #include <crypto/algapi.h> 16 - #include <crypto/scatterwalk.h> 17 10 #include <crypto/internal/des.h> 11 + #include <crypto/internal/skcipher.h> 12 + #include <linux/err.h> 13 + #include <linux/kernel.h> 14 + #include <linux/list.h> 15 + #include <linux/module.h> 16 + #include <linux/scatterlist.h> 17 + #include <linux/slab.h> 18 + #include <linux/string.h> 18 19 19 20 #include "ccp-crypto.h" 20 21
+8 -5
drivers/crypto/ccp/ccp-crypto-main.c
··· 7 7 * Author: Tom Lendacky <thomas.lendacky@amd.com> 8 8 */ 9 9 10 - #include <linux/module.h> 11 - #include <linux/moduleparam.h> 10 + #include <crypto/internal/akcipher.h> 11 + #include <crypto/internal/hash.h> 12 + #include <crypto/internal/skcipher.h> 13 + #include <linux/ccp.h> 14 + #include <linux/err.h> 12 15 #include <linux/kernel.h> 13 16 #include <linux/list.h> 14 - #include <linux/ccp.h> 17 + #include <linux/module.h> 15 18 #include <linux/scatterlist.h> 16 - #include <crypto/internal/hash.h> 17 - #include <crypto/internal/akcipher.h> 19 + #include <linux/slab.h> 20 + #include <linux/spinlock.h> 18 21 19 22 #include "ccp-crypto.h" 20 23