summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorAndrey Ryabinin <a.ryabinin@samsung.com>2015-01-21 18:06:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-01-26 11:34:24 +1100
commit490f702286bc03a2f1538b39c4a19420ce624a73 (patch)
tree2f9abeb7f9ab25670444e19b56dc1adcaa00c83b /drivers/crypto
parent467707b2b73c34802e8ba2a98858722b23f1ef8e (diff)
downloadop-kernel-dev-490f702286bc03a2f1538b39c4a19420ce624a73.zip
op-kernel-dev-490f702286bc03a2f1538b39c4a19420ce624a73.tar.gz
crypto: ccp - terminate ccp_support array with empty element
x86_match_cpu() expects array of x86_cpu_ids terminated with empty element. Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com> Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/ccp/ccp-dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.c b/drivers/crypto/ccp/ccp-dev.c
index c6e6171..ca29c12 100644
--- a/drivers/crypto/ccp/ccp-dev.c
+++ b/drivers/crypto/ccp/ccp-dev.c
@@ -583,6 +583,7 @@ bool ccp_queues_suspended(struct ccp_device *ccp)
#ifdef CONFIG_X86
static const struct x86_cpu_id ccp_support[] = {
{ X86_VENDOR_AMD, 22, },
+ { },
};
#endif
OpenPOWER on IntegriCloud