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	[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).