Commit a62193a
scsi: mpi3mr: struct mpi3_sas_io_unit_page1: Replace 1-element array with flexible array
Replace the deprecated[1] use of a 1-element array in struct
mpi3_sas_io_unit_page1 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-4-kees@kernel.org
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 41bb962 commit a62193a
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1603 | 1603 | | |
1604 | 1604 | | |
1605 | 1605 | | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
1609 | 1606 | | |
1610 | 1607 | | |
1611 | 1608 | | |
| |||
1615 | 1612 | | |
1616 | 1613 | | |
1617 | 1614 | | |
1618 | | - | |
| 1615 | + | |
1619 | 1616 | | |
1620 | 1617 | | |
1621 | 1618 | | |
| |||
0 commit comments