Searched hist:"48 b4c010" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/nvme/target/ |
H A D | configfs.c | 48b4c010 Mon Mar 15 09:56:11 CDT 2021 Noam Gottlieb <ngottlieb@nvidia.com> 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>
|
H A D | nvmet.h | 48b4c010 Mon Mar 15 09:56:11 CDT 2021 Noam Gottlieb <ngottlieb@nvidia.com> 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>
|