7b4bc2a243
SN, MN, and FR are ASCII strings as defined by the NVMe spec; use the new print_ascii_string() helper function to print them. This trims the trailing spaces and prevents accidentally printing any control characters to the screen if the device provides an invalid ASCII string. Change-Id: Ifaf383a79e13be62625250e7e79a305ebaa3612b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/405926 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
arbitration | ||
cmb_copy | ||
fio_plugin | ||
hello_world | ||
hotplug | ||
identify | ||
nvme_manage | ||
perf | ||
reserve | ||
Makefile |