Home
last modified time | relevance | path

Searched hist:"94 c41b3a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/um/drivers/
H A Dubd_kern.c94c41b3a Sun Dec 20 20:24:34 CST 2020 Hajime Tazaki <thehajime@gmail.com> 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>