mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07: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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user