diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-07-09 11:51:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-07-09 11:51:30 +0200 |
commit | 4c7b877a5c90bcf80d42086d246981f0686d1e27 (patch) | |
tree | f18389912e43843ec2d393a08e408fd96199957d /fs/pstore | |
parent | 49b5c5a7e148600a98ce1730c76e23246cbd755c (diff) | |
download | barebox-4c7b877a5c90bcf80d42086d246981f0686d1e27.tar.gz |
cmdlinepart: Allow empty string
Currently when cmdlinepart_do_parse() is called with an empty
partitions string then an unnamed partition with size 0 is created.
This is wrong of course and instead no partition should be
created.
With this barebox no longer crashes while booting when all partitions
are deleted on the commandline using "nand0.partitions="
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/pstore')
0 files changed, 0 insertions, 0 deletions