Hajime Tazaki 94c41b3a7c um: ubd: fix command line handling of ubd
This commit fixes a regression to handle command line parameters of ubd.
With a simple line "./linux ubd0="./disk-ext4.img", it fails at
ubd_setup_common().  The commit adds additional checks to the variables
in order to properly parse the paremeters which previously worked.

Fixes: ef3ba87cb7c9 ("um: ubd: Set device serial attribute from cmdline")
Cc: Christopher Obbard <chris.obbard@collabora.com>
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
Acked-by: Christopher Obbard <chris.obbard@collabora.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-01-26 22:10:44 +01:00
..
2020-12-13 22:22:08 +01:00
2020-06-24 16:53:37 +02:00
2020-12-13 22:22:08 +01:00
2020-12-13 22:22:08 +01:00
2020-12-13 22:22:29 +01:00
2020-06-24 16:53:37 +02:00
2020-06-24 16:53:37 +02:00
2020-12-13 22:22:29 +01:00
2020-12-13 22:38:28 +01:00