aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorMartin Wilck <[email protected]>2017-07-14 00:25:31 +0200
committerJens Axboe <[email protected]>2017-07-20 08:41:56 -0600
commit42de82a8b544fa55670feef7d6f85085fba48fc0 (patch)
tree8601760e3887a31bf1b84258a25ce02352c3b357 /lib/mpi/mpi-internal.h
parentfcbc545959676282e7f46be5c8d8aea26a89ea47 (diff)
nvmet: don't report 0-bytes in serial number
The NVME standard mandates that the SN, MN, and FR fields of the Identify Controller Data Structure be "ASCII strings". That means that they may not contain 0-bytes, not even string terminators. Signed-off-by: Martin Wilck <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> [hch: fixed for the move of the serial field, updated description] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions