LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] crypto: ccp: terminate ccp_support array with empty element
@ 2015-01-21 15:06 Andrey Ryabinin
2015-01-23 15:11 ` Tom Lendacky
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Ryabinin @ 2015-01-21 15:06 UTC (permalink / raw)
To: linux-kernel, Tom Lendacky, Herbert Xu, David S. Miller,
open list:AMD CRYPTOGRAPHIC...
Cc: Andrey Ryabinin
x86_match_cpu() expects array of x86_cpu_ids terminated
with empty element.
Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.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
--
2.2.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto: ccp: terminate ccp_support array with empty element
2015-01-21 15:06 [PATCH] crypto: ccp: terminate ccp_support array with empty element Andrey Ryabinin
@ 2015-01-23 15:11 ` Tom Lendacky
2015-01-26 2:56 ` Herbert Xu
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lendacky @ 2015-01-23 15:11 UTC (permalink / raw)
To: Andrey Ryabinin, linux-kernel, Herbert Xu, David S. Miller,
open list:AMD CRYPTOGRAPHIC...
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
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto: ccp: terminate ccp_support array with empty element
2015-01-23 15:11 ` Tom Lendacky
@ 2015-01-26 2:56 ` Herbert Xu
0 siblings, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2015-01-26 2:56 UTC (permalink / raw)
To: Tom Lendacky
Cc: Andrey Ryabinin, linux-kernel, David S. Miller,
open list:AMD CRYPTOGRAPHIC...
On Fri, Jan 23, 2015 at 09:11:45AM -0600, Tom Lendacky wrote:
> 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>
Applied.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-26 2:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 15:06 [PATCH] crypto: ccp: terminate ccp_support array with empty element Andrey Ryabinin
2015-01-23 15:11 ` Tom Lendacky
2015-01-26 2:56 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).