mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
scsi: qla2xxx: 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:
parent
d66ad1e60e
commit
88a157a320
|
|
@ -282,8 +282,8 @@ struct register_host_info {
|
|||
#define QLAFX00_TGT_NODE_LIST_SIZE (sizeof(uint32_t) * 32)
|
||||
|
||||
struct config_info_data {
|
||||
uint8_t model_num[16];
|
||||
uint8_t model_description[80];
|
||||
uint8_t model_num[16] __nonstring;
|
||||
uint8_t model_description[80] __nonstring;
|
||||
uint8_t reserved0[160];
|
||||
uint8_t symbolic_name[64];
|
||||
uint8_t serial_num[32];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user