Hello Jens, The 1st patch cleans ublk_add_dev a bit, meantime fix one potential free un-allocated buffer issue. The 2nd one makes sure that driver supported flags returned to userspace, this way is important for maintaining compatibility. Ming Lei (2): ublk_drv: fix error handling of ublk_add_dev ublk_drv: make sure that correct flags(features) returned to userspace drivers/block/ublk_drv.c | 43 +++++++++++++++++++++++++++-------- include/uapi/linux/ublk_cmd.h | 11 +++++++-- 2 files changed, 43 insertions(+), 11 deletions(-) -- 2.31.1