scsi: aacraid: struct aac_ciss_phys_luns_resp: Replace 1-element array with flexible...
authorKees Cook <kees@kernel.org>
Thu, 11 Jul 2024 17:50:55 +0000 (10:50 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 3 Aug 2024 01:29:09 +0000 (21:29 -0400)
commit2e35b43bc9a82fde4e7aebe5d8331e1158374d5c
tree44a5fdaee46a4184677550d5eef428f4a07cb38c
parent575b9be63684600e7e02517f0b647e5cb759120c
scsi: aacraid: struct aac_ciss_phys_luns_resp: Replace 1-element array with flexible array

Replace the deprecated[1] use of a 1-element array in struct
aac_ciss_phys_luns_resp with a modern flexible array.

No binary differences are present after this conversion.

Link: https://github.com/KSPP/linux/issues/79
Signed-off-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20240711175055.work.928-kees@kernel.org
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/aachba.c
drivers/scsi/aacraid/aacraid.h