diff mbox

dma: rcar-audmapp: add NULL terminater on audmapp_of_match

Message ID 87simbuz3a.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit c4511ccc5053872705513ccdf695d6d10feaef0a
Headers show

Commit Message

Kuninori Morimoto July 9, 2014, 12:59 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

This patch solve this issue

drivers/dma/sh/rcar-audmapp.c:357:41-42: audmapp_of_match is not NULL terminated at line 357

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 drivers/dma/sh/rcar-audmapp.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Simon Horman July 9, 2014, 8:26 a.m. UTC | #1
On Tue, Jul 08, 2014 at 05:59:07PM -0700, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> This patch solve this issue
> 
> drivers/dma/sh/rcar-audmapp.c:357:41-42: audmapp_of_match is not NULL terminated at line 357
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Thanks, I will add this to the rcar-audmapp-for-v3.17 branch
of the renesas tree, where this problem was added.

> ---
>  drivers/dma/sh/rcar-audmapp.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/dma/sh/rcar-audmapp.c b/drivers/dma/sh/rcar-audmapp.c
> index 0774c36..dabbf0a 100644
> --- a/drivers/dma/sh/rcar-audmapp.c
> +++ b/drivers/dma/sh/rcar-audmapp.c
> @@ -355,6 +355,7 @@ static int audmapp_remove(struct platform_device *pdev)
>  
>  static const struct of_device_id audmapp_of_match[] = {
>  	{ .compatible = "renesas,rcar-audmapp", },
> +	{},
>  };
>  
>  static struct platform_driver audmapp_driver = {
> -- 
> 1.7.9.5
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/dma/sh/rcar-audmapp.c b/drivers/dma/sh/rcar-audmapp.c
index 0774c36..dabbf0a 100644
--- a/drivers/dma/sh/rcar-audmapp.c
+++ b/drivers/dma/sh/rcar-audmapp.c
@@ -355,6 +355,7 @@  static int audmapp_remove(struct platform_device *pdev)
 
 static const struct of_device_id audmapp_of_match[] = {
 	{ .compatible = "renesas,rcar-audmapp", },
+	{},
 };
 
 static struct platform_driver audmapp_driver = {