Commit 41bb962
scsi: mpi3mr: struct mpi3_sas_io_unit_page0: Replace 1-element array with flexible array
Replace the deprecated[1] use of a 1-element array in struct
mpi3_sas_io_unit_page0 with a modern flexible array.
No binary differences are present after this conversion.
Link: KSPP#79 [1]
Signed-off-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20240711155637.3757036-3-kees@kernel.org
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 0e11f97 commit 41bb962
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1565 | 1565 | | |
1566 | 1566 | | |
1567 | 1567 | | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
1571 | 1568 | | |
1572 | 1569 | | |
1573 | 1570 | | |
1574 | 1571 | | |
1575 | 1572 | | |
1576 | 1573 | | |
1577 | | - | |
| 1574 | + | |
1578 | 1575 | | |
1579 | 1576 | | |
1580 | 1577 | | |
| |||
0 commit comments