aboutsummaryrefslogtreecommitdiff
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorMarkos Chandras <[email protected]>2014-05-23 13:31:31 +0100
committerRalf Baechle <[email protected]>2014-05-25 12:46:24 +0200
commit2ff89d64f23e99da64995844ea42c83b0b4d58c6 (patch)
tree114b3a946e0cdff2c0273990ecb28e2a12477824 /scripts/mod/file2alias.c
parent721a9205396c4ef2a811dd665ec2a232163b583d (diff)
MIPS: malta: memory.c: Initialize the 'memsize' variable
If the 'memsize' environmental variable is not set by the bootloader the 'memsize' variable is not initialized, leading to potential memory problems. This patch fixes the problem by setting the initial value to '0' to force the kernel to set a good default memory size. Cc: <[email protected]> # v3.15+ Reported-by: Matheus Almeida <[email protected]> Signed-off-by: Markos Chandras <[email protected]> Cc: [email protected] Cc: Markos Chandras <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/6984/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions