]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: increase COMMAND_LINE_SIZE value to 2048
authorAustin Kim <austin.kim@lge.com>
Sat, 4 Apr 2026 01:28:47 +0000 (19:28 -0600)
committerPaul Walmsley <pjw@kernel.org>
Sun, 5 Apr 2026 00:42:44 +0000 (18:42 -0600)
SoC people may send many parameters to configure the drivers via kernel
command line. If COMMAND_LINE_SIZE is not enough, they may go through
unexpected error.

To avoid the potential pain, we had better increase COMMAND_LINE_SIZE.

Signed-off-by: Austin Kim <austin.kim@lge.com>
Link: https://patch.msgid.link/aW3gFmOlA/Z4kmfJ@adminpc-PowerEdge-R7525
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/include/uapi/asm/setup.h

index 66b13a5228808dcbf79a03bac165788bc439af18..eb4f0209c6960e8ef5a5360175018fe24e1d301c 100644 (file)
@@ -3,6 +3,6 @@
 #ifndef _UAPI_ASM_RISCV_SETUP_H
 #define _UAPI_ASM_RISCV_SETUP_H
 
-#define COMMAND_LINE_SIZE      1024
+#define COMMAND_LINE_SIZE      2048
 
 #endif /* _UAPI_ASM_RISCV_SETUP_H */