From: Gleb C. <lna...@ya...> - 2025-05-14 10:51:30
|
Commit: cc1e66a GitHub URL: https://github.com/SCST-project/scst/commit/cc1e66a0e1e03f784a0f6a1eb1fdb66d10278bb1 Author: Gleb Chesnokov Date: 2025-05-14T13:49:18+03:00 Log Message: ----------- qla2x00t-32gbit: 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 <mar...@or...> # SCSI Signed-off-by: Kees Cook <ke...@ke...> [ commit 88a157a3204d upstream ] Modified Paths: -------------- qla2x00t-32gbit/qla_mr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) =================================================================== diff --git a/qla2x00t-32gbit/qla_mr.h b/qla2x00t-32gbit/qla_mr.h index 4f63aff..3a2bd95 100644 --- a/qla2x00t-32gbit/qla_mr.h +++ b/qla2x00t-32gbit/qla_mr.h @@ -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]; |