Author: nbd Date: 2015-08-02 17:06:54 +0200 (Sun, 02 Aug 2015) New Revision: 46544
Modified: trunk/target/linux/ar71xx/image/lzma-loader/src/loader.c Log: ar71xx: fix lzma-loader kernel command line passing The generic kernel cmdline parser ignores argv[0], this caused a regression for all lzma-loader based boards with linux 4.1 Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/target/linux/ar71xx/image/lzma-loader/src/loader.c =================================================================== --- trunk/target/linux/ar71xx/image/lzma-loader/src/loader.c 2015-08-02 07:40:12 UTC (rev 46543) +++ trunk/target/linux/ar71xx/image/lzma-loader/src/loader.c 2015-08-02 15:06:54 UTC (rev 46544) @@ -73,9 +73,10 @@ static unsigned long kernel_la; #ifdef CONFIG_KERNEL_CMDLINE -#define kernel_argc 1 +#define kernel_argc 2 static const char kernel_cmdline[] = CONFIG_KERNEL_CMDLINE; static const char *kernel_argv[] = { + NULL, kernel_cmdline, NULL, }; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
