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>
This commit is contained in:
parent
467707b2b7
commit
490f702286
1 changed files with 1 additions and 0 deletions
|
@ -583,6 +583,7 @@ bool ccp_queues_suspended(struct ccp_device *ccp)
|
||||||
#ifdef CONFIG_X86
|
#ifdef CONFIG_X86
|
||||||
static const struct x86_cpu_id ccp_support[] = {
|
static const struct x86_cpu_id ccp_support[] = {
|
||||||
{ X86_VENDOR_AMD, 22, },
|
{ X86_VENDOR_AMD, 22, },
|
||||||
|
{ },
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue