[PATCH 3.14 012/110] staging/mt29f_spinand: Terminate of match table

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sat Jun 28 10:46:09 PDT 2014


3.14-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Stephen Boyd <sboyd at codeaurora.org>

commit ffd07de65ef5315053ea16356cd533b7f47c17e9 upstream.

Failure to terminate this match table can lead to boot failures
depending on where the compiler places the match table.

Cc: Kamlakant Patel <kamlakant.patel at broadcom.com>
Cc: Mona Anonuevo <manonuevo at micron.com>
Cc: linux-mtd at lists.infradead.org
Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>

---
 drivers/staging/mt29f_spinand/mt29f_spinand.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/staging/mt29f_spinand/mt29f_spinand.c
+++ b/drivers/staging/mt29f_spinand/mt29f_spinand.c
@@ -924,6 +924,7 @@ static int spinand_remove(struct spi_dev
 
 static const struct of_device_id spinand_dt[] = {
 	{ .compatible = "spinand,mt29f", },
+	{}
 };
 
 /*





More information about the linux-mtd mailing list