Skip to content
Commit 94c41b3a authored by Hajime Tazaki's avatar Hajime Tazaki Committed by Richard Weinberger
Browse files

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: ef3ba87c ("um: ubd: Set device serial attribute from cmdline")
Cc: Christopher Obbard <chris.obbard@collabora.com>
Signed-off-by: default avatarHajime Tazaki <thehajime@gmail.com>
Acked-by: default avatarChristopher Obbard <chris.obbard@collabora.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 4992eb41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment