summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/omap-cpufreq.c
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2017-07-14 00:25:31 +0200
committerJens Axboe <axboe@kernel.dk>2017-07-20 16:41:56 +0200
commit42de82a8b544fa55670feef7d6f85085fba48fc0 (patch)
tree8601760e3887a31bf1b84258a25ce02352c3b357 /drivers/cpufreq/omap-cpufreq.c
parentnvmet: preserve controller serial number between reboots (diff)
downloadlinux-42de82a8b544fa55670feef7d6f85085fba48fc0.tar.xz
linux-42de82a8b544fa55670feef7d6f85085fba48fc0.zip
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 <mwilck@suse.com> Reviewed-by: Hannes Reinecke <hare@suse.de> [hch: fixed for the move of the serial field, updated description] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/cpufreq/omap-cpufreq.c')
0 files changed, 0 insertions, 0 deletions