+1
−1
Loading
The serial can be 20 chars in length, if it's shorter, kernel pads it with spaces - this is a bit annoying while trying to compare $NVMF_SERIAL directly with the serial string exposed under sysfs. To make it less annoying, just make the string 20 bytes long. Change-Id: Iacea0ab17e7c4fdff4311bd75b7441598455f5c1 Signed-off-by:Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21348 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Karol Latecki <karol.latecki@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>