Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu

Pull m68k nommu fix from Greg Ungerer:
 "Only a single change to fix an out of bounds array access when parsing
  boot command line"

* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
  m68k: fix command-line parsing when passed from u-boot
This commit is contained in:
Linus Torvalds 2018-10-29 09:04:26 -07:00
commit 673c790e72
1 changed files with 1 additions and 1 deletions

View File

@ -102,5 +102,5 @@ __init void process_uboot_commandline(char *commandp, int size)
}
parse_uboot_commandline(commandp, len);
commandp[size - 1] = 0;
commandp[len - 1] = 0;
}