From b393464fb408f0428e2f347ea993f3047d2865f2 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Thu, 3 May 2012 21:03:50 +0000 Subject: [PATCH] adm5120: add missing NULL terminator to partition parser list Fixes #11372. SVN-Revision: 31574 --- target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c b/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c index 58cf277438..f6a86f4897 100644 --- a/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c +++ b/target/linux/adm5120/files/drivers/mtd/maps/adm5120-flash.c @@ -100,6 +100,7 @@ static const char const *parse_types[] = { #ifdef CONFIG_MTD_MYLOADER_PARTS "MyLoader", #endif + NULL, }; #define BANK_SIZE (2<<20) -- 2.30.2