2012-11-04 15:36:32

by Axel Lin

[permalink] [raw]
Subject: [PATCH] crypto: picoxcell: Add terminating entry for platform_device_id table

The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <[email protected]>
---
drivers/crypto/picoxcell_crypto.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/picoxcell_crypto.c b/drivers/crypto/picoxcell_crypto.c
index 410a03c..f4d3d8f 100644
--- a/drivers/crypto/picoxcell_crypto.c
+++ b/drivers/crypto/picoxcell_crypto.c
@@ -1863,6 +1863,7 @@ static int __devexit spacc_remove(struct platform_device *pdev)
static const struct platform_device_id spacc_id_table[] = {
{ "picochip,spacc-ipsec", },
{ "picochip,spacc-l2", },
+ { }
};

static struct platform_driver spacc_driver = {
--
1.7.9.5


2012-11-04 15:51:10

by Jamie Iles

[permalink] [raw]
Subject: Re: [PATCH] crypto: picoxcell: Add terminating entry for platform_device_id table

Hi Axel,

On Sun, Nov 04, 2012 at 11:36:25PM +0800, Axel Lin wrote:
> The platform_device_id table is supposed to be zero-terminated.
>
> Signed-off-by: Axel Lin <[email protected]>

Good spot! Thanks for fixing.

Acked-by: Jamie Iles <[email protected]>

Jamie

2012-11-04 17:41:07

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] crypto: picoxcell: Add terminating entry for platform_device_id table

From: Axel Lin <[email protected]>
Date: Sun, 04 Nov 2012 23:36:25 +0800

> The platform_device_id table is supposed to be zero-terminated.
>
> Signed-off-by: Axel Lin <[email protected]>

Acked-by: David S. Miller <[email protected]>

2012-11-09 09:35:23

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: picoxcell: Add terminating entry for platform_device_id table

On Sun, Nov 04, 2012 at 11:36:25PM +0800, Axel Lin wrote:
> The platform_device_id table is supposed to be zero-terminated.
>
> Signed-off-by: Axel Lin <[email protected]>

Patch applied. Thanks!
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt