crypto: picoxcell: Add terminating entry for platform_device_id table
PATCH 1/1 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(+)
drivers/crypto/picoxcell_crypto.c +1 -0
@@ -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 = {
Signature · 1 line
1.7.9.5
Hi Axel,
Quoted 3 lines · Axel Lin
The
platform_device_idtable 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
From: Axel Lin <[email protected]>
Date: Sun, 04 Nov 2012 23:36:25 +0800
Quoted 3 lines
The
platform_device_idtable is supposed to be zero-terminated.Signed-off-by Axel Lin <[email protected]>
Acked-by David S. Miller <[email protected]>
Quoted 3 lines · Axel Lin
The
platform_device_idtable is supposed to be zero-terminated.Signed-off-by Axel Lin <[email protected]>
Patch applied. Thanks!
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt