summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip27
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-12 22:43:38 +0200
committerPaul Burton <paul.burton@mips.com>2019-10-12 22:44:24 +0200
commit9dd422f69777b928f8a12e5392d4aeeb00a55c2b (patch)
treee3cd933298f8329d9f3dd8e93aa206ba16c7253d /arch/mips/sgi-ip27
parentMIPS: Fix CONFIG_OF_EARLY_FLATTREE=n builds (diff)
downloadlinux-9dd422f69777b928f8a12e5392d4aeeb00a55c2b.tar.xz
linux-9dd422f69777b928f8a12e5392d4aeeb00a55c2b.zip
MIPS: Make builtin_cmdline const & variable length
We have no need for the builtin_cmdline array to be fixed at the length of COMMAND_LINE_SIZE - we'll only copy out the string it contains up to its NULL terminator anyway, and cap the size at COMMAND_LINE_SIZE when copying into or concatenating with boot_command_line. The string value is also constant, so we can declare it as such to place it in the .init.rodata section. Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/sgi-ip27')
0 files changed, 0 insertions, 0 deletions