Message ID | 20171103165201.18997-1-boris.brezillon@free-electrons.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
On Fri, Nov 03, 2017 at 05:52:01PM +0100, Boris Brezillon wrote: > struct platform_device_id should be NULL terminated to let the core detect > where the last entry is. > > Fixes: 07c50a8be41a ("crypto: marvell - Add a platform_device_id table") > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Patch applied. Thanks.
diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c index 577dc6773fa0..6dabb261bac4 100644 --- a/drivers/crypto/marvell/cesa.c +++ b/drivers/crypto/marvell/cesa.c @@ -594,6 +594,7 @@ static int mv_cesa_remove(struct platform_device *pdev) static const struct platform_device_id mv_cesa_plat_id_table[] = { { .name = "mv_crypto" }, + { /* sentinel */ }, }; MODULE_DEVICE_TABLE(platform, mv_cesa_plat_id_table);
struct platform_device_id should be NULL terminated to let the core detect where the last entry is. Fixes: 07c50a8be41a ("crypto: marvell - Add a platform_device_id table") Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> --- drivers/crypto/marvell/cesa.c | 1 + 1 file changed, 1 insertion(+)