Re: [PATCH] dma: rcar-audmapp: add NULL terminater on audmapp_of_match

From: Simon Horman
Date: Wed Jul 09 2014 - 04:26:38 EST


On Tue, Jul 08, 2014 at 05:59:07PM -0700, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>

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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/