mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
scsi: mpi3mr: Mark device strings as nonstring
In preparation for memtostr*() checking that its source is marked as nonstring, annotate the device strings accordingly. Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> # SCSI Signed-off-by: Kees Cook <kees@kernel.org>
This commit is contained in:
@@ -105,10 +105,10 @@ struct rep_manu_reply {
|
||||
u8 reserved0[2];
|
||||
u8 sas_format;
|
||||
u8 reserved2[3];
|
||||
u8 vendor_id[SAS_EXPANDER_VENDOR_ID_LEN];
|
||||
u8 product_id[SAS_EXPANDER_PRODUCT_ID_LEN];
|
||||
u8 product_rev[SAS_EXPANDER_PRODUCT_REV_LEN];
|
||||
u8 component_vendor_id[SAS_EXPANDER_COMPONENT_VENDOR_ID_LEN];
|
||||
u8 vendor_id[SAS_EXPANDER_VENDOR_ID_LEN] __nonstring;
|
||||
u8 product_id[SAS_EXPANDER_PRODUCT_ID_LEN] __nonstring;
|
||||
u8 product_rev[SAS_EXPANDER_PRODUCT_REV_LEN] __nonstring;
|
||||
u8 component_vendor_id[SAS_EXPANDER_COMPONENT_VENDOR_ID_LEN] __nonstring;
|
||||
u16 component_id;
|
||||
u8 component_revision_id;
|
||||
u8 reserved3;
|
||||
|
||||
Reference in New Issue
Block a user