[PATCH v2 2/3] nvmet: identify controller: improve standard compliance

2017-07-20 Thread Martin Wilck
The NVME standard mandates that the SN, MN, and FR fields of the Indentify Controller Data Structure be "ASCII strings". That means that they may not contain 0-bytes, not even string terminators. Signed-off-by: Martin Wilck --- drivers/nvme/target/admin-cmd.c | 13 ++---

[PATCH v2 2/3] nvmet: identify controller: improve standard compliance

2017-07-20 Thread Martin Wilck
The NVME standard mandates that the SN, MN, and FR fields of the Indentify Controller Data Structure be "ASCII strings". That means that they may not contain 0-bytes, not even string terminators. Signed-off-by: Martin Wilck --- drivers/nvme/target/admin-cmd.c | 13 ++--- 1 file changed,