OSDN Git Service

m68k: fix command-line parsing when passed from u-boot
authorAngelo Dureghello <angelo@sysam.it>
Fri, 7 Sep 2018 12:44:25 +0000 (14:44 +0200)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 15 Oct 2018 23:46:02 +0000 (09:46 +1000)
commit381fdd62c38344a771aed06adaf14aae65c47454
treee21954808739251c9a763b15f54117e88f0b9377
parent35a7f35ad1b150ddf59a41dcac7b2fa32982be0e
m68k: fix command-line parsing when passed from u-boot

This patch fixes command_line array zero-terminated
one byte over the end of the array, causing boot to hang.

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/kernel/uboot.c