From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: richard@nod.at, nicolas.ferre@microchip.com,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] mtd: nand: NULL terminate a of_device_id table
Date: Tue, 11 Apr 2017 13:36:59 +0200 [thread overview]
Message-ID: <20170411133659.7312a443@bbrezillon> (raw)
In-Reply-To: <20170411052252.20656-1-christophe.jaillet@wanadoo.fr>
On Tue, 11 Apr 2017 07:22:52 +0200
Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote:
> of_device_id tables should be NULL terminated.
>
> Fixes: 07b23e3db9ed ("mtd: nand: Cleanup/rework the atmel_nand driver")
Applied.
Thanks,
Boris
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
> drivers/mtd/nand/atmel/nand-controller.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/nand/atmel/nand-controller.c b/drivers/mtd/nand/atmel/nand-controller.c
> index 27301603f394..af9dd0e04261 100644
> --- a/drivers/mtd/nand/atmel/nand-controller.c
> +++ b/drivers/mtd/nand/atmel/nand-controller.c
> @@ -1636,6 +1636,7 @@ static const struct of_device_id atmel_matrix_of_ids[] = {
> .compatible = "atmel,at91sam9x5-matrix",
> .data = (void *)AT91SAM9X5_MATRIX_EBICSA,
> },
> + { /* sentinel */ },
> };
>
> static int atmel_nand_controller_init(struct atmel_nand_controller *nc,
prev parent reply other threads:[~2017-04-11 11:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-11 5:22 [PATCH] mtd: nand: NULL terminate a of_device_id table Christophe JAILLET
2017-04-11 11:36 ` Boris Brezillon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170411133659.7312a443@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=nicolas.ferre@microchip.com \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox