diff options
| author | Noam Gottlieb <ngottlieb@nvidia.com> | 2021-03-15 14:56:11 +0000 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2021-04-02 18:48:27 +0200 |
| commit | 48b4c010c85bbd319fbcae79b2d602857a2e9345 (patch) | |
| tree | ae315b9b172357e5665c8184a145a11be6129195 /tools/perf/scripts | |
| parent | nvmet: remove unnecessary ctrl parameter (diff) | |
| download | linux-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')
0 files changed, 0 insertions, 0 deletions
