diff options
| author | Kees Cook <kees@kernel.org> | 2024-07-11 18:58:23 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-08-03 04:26:01 +0300 |
| commit | ed8ab02c85b3494ec81f35f12e01f6678af09f6a (patch) | |
| tree | 5821019dd0f5927a40f71a70f41aa5f0fd0f780a /lib/test_fortify/write_overflow-strncpy-src.c | |
| parent | 778d7cddd8585198d15c3190d4f2b243ac53df52 (diff) | |
| download | linux-ed8ab02c85b3494ec81f35f12e01f6678af09f6a.tar.xz | |
scsi: megaraid_sas: struct MR_LD_VF_MAP: Replace 1-element arrays with flexible arrays
Replace the deprecated[1] use of a 1-element array in struct MR_LD_VF_MAP
with a modern flexible array.
No binary differences are present after this conversion.
Link: https://github.com/KSPP/linux/issues/79 [1]
Signed-off-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20240711155823.work.778-kees@kernel.org
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions
