lkml.org 
[lkml]   [2015]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] crypto: ccp: terminate ccp_support array with empty element
On 01/21/2015 09:06 AM, Andrey Ryabinin wrote:
> 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>

> ---
> drivers/crypto/ccp/ccp-dev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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
>
>


\
 
 \ /
  Last update: 2015-01-23 16:21    [W:0.166 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site