Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+2 -2
+2 -2
drivers/scsi/qla2xxx/qla_mr.h
··· 282 282 #define QLAFX00_TGT_NODE_LIST_SIZE (sizeof(uint32_t) * 32) 283 283 284 284 struct config_info_data { 285 - uint8_t model_num[16]; 286 - uint8_t model_description[80]; 285 + uint8_t model_num[16] __nonstring; 286 + uint8_t model_description[80] __nonstring; 287 287 uint8_t reserved0[160]; 288 288 uint8_t symbolic_name[64]; 289 289 uint8_t serial_num[32];