diff options
author | Noam Gottlieb <[email protected]> | 2021-03-15 14:56:11 +0000 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-04-02 18:48:27 +0200 |
commit | 48b4c010c85bbd319fbcae79b2d602857a2e9345 (patch) | |
tree | ae315b9b172357e5665c8184a145a11be6129195 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | de5878048e11f1ec44164ebb8994de132074367a (diff) |
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 <[email protected]>
Signed-off-by: Noam Gottlieb <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions