aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNoam Gottlieb <ngottlieb@nvidia.com>2021-03-15 14:56:11 +0000
committerChristoph Hellwig <hch@lst.de>2021-04-02 18:48:27 +0200
commit48b4c010c85bbd319fbcae79b2d602857a2e9345 (patch)
treeae315b9b172357e5665c8184a145a11be6129195 /tools/perf/scripts/python/bin
parentnvmet: remove unnecessary ctrl parameter (diff)
downloadlinux-48b4c010c85bbd319fbcae79b2d602857a2e9345.tar.gz
linux-48b4c010c85bbd319fbcae79b2d602857a2e9345.zip
nvmet: do not allow model_number exceed 40 bytes
According to the NVM specifications, the model number size should be 40 bytes (bytes 63:24 of the Identify Controller data structure). Therefore, any attempt to store a value into model_number which exceeds 40 bytes should return an error. Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com> Signed-off-by: Noam Gottlieb <ngottlieb@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions