Spdk/module
Artur Paszkiewicz ec3ac8b823 bdev/nvme: fix UUID generation
Fix an off-by-one bug on serial string length that causes this assert:

bdev_nvme.c:2956: nvme_generate_uuid: Assertion `strlen(sn) <= SPDK_NVME_CTRLR_SN_LEN' failed.

Fixes: b5bdbbb95 ("bdev: enable bdevs based on physical device to generate UUID")
Change-Id: I65d55f555625d8277fd25196ba5d2c886384ae24
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15563
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2022-12-05 22:38:01 +00:00
..
accel update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev bdev/nvme: fix UUID generation 2022-12-05 22:38:01 +00:00
blob update Intel copyright notices 2022-11-10 08:28:53 +00:00
blobfs build: compile API functions with missing deps 2022-11-18 08:40:05 +00:00
env_dpdk update Intel copyright notices 2022-11-10 08:28:53 +00:00
event update Intel copyright notices 2022-11-10 08:28:53 +00:00
scheduler update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock sock/posix: free the allocated memory 2022-11-28 09:46:00 +00:00
vfu_device include/bdev_module.h: add SPDK_ prefix to macros 2022-11-22 10:03:57 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00