summary refs log tree commit diff stats
path: root/docs/sphinx/qapidoc.py
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-03-24 10:11:55 +0100
committerKlaus Jensen <k.jensen@samsung.com>2021-04-06 20:44:56 +0200
commitdae8be368e7b9ad36bc8af1cd365d28b199a6502 (patch)
treedaa2b6f908631b54efc4b6890b07066f44991888 /docs/sphinx/qapidoc.py
parent349bf41d592cf59e0438ad79e247395b1af04c4f (diff)
downloadfocaccia-qemu-dae8be368e7b9ad36bc8af1cd365d28b199a6502.tar.gz
focaccia-qemu-dae8be368e7b9ad36bc8af1cd365d28b199a6502.zip
hw/block/nvme: fix the nsid 'invalid' value
The `nvme_nsid()` function returns '-1' (FFFFFFFFh) when the given
namespace is NULL. Since FFFFFFFFh is actually a valid namespace
identifier (the "broadcast" value), change this to be '0' since that
actually *is* the invalid value.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'docs/sphinx/qapidoc.py')
0 files changed, 0 insertions, 0 deletions