mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
68bc14b23e
PD#SWPL-185687 Problem: there is panic when envp_init stores over 32 members Kernel panic - not syncing: Too many boot env vars at `reboot_mode=normal' CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.180-rksec-1.0 #2 Hardware name: Generic DT based system [<b020a1b8>] show_stack+0x10/0x14 [<b0cbd7b4>] dump_stack+0x8c/0xa8 [<b0cad7a4>] panic+0x104/0x304 [<b1100b84>] start_kernel+0xa4/0x42c [<b11004a4>] _sinittext+0x44/0x48 Solution: set __setup return value as 1 to avoid envp_init full Verify: t5w Test: t5w Change-Id: Ie0f5ada11318ab509bf7bd914e2af53213250f00 Signed-off-by: Jian Hu <jian.hu@amlogic.com> Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>