Merge patch series "scsi: aacraid: struct sgmap: Replace 1-element arrays with flexib...
authorMartin K. Petersen <martin.petersen@oracle.com>
Sat, 3 Aug 2024 01:39:30 +0000 (21:39 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 3 Aug 2024 01:39:30 +0000 (21:39 -0400)
commit15f7b71b9da6e0caa6a960e5cea4d64e5f12722c
tree94f242ae9eb38506cd56ff10e7ae01adb70f01ec
parente0c39a5e65a26943c1c84990bc70e9a822e90f05
parentfdb1db6ea7f66cad970b19b5cd341b8386350bca
Merge patch series "scsi: aacraid: struct sgmap: Replace 1-element arrays with flexible arrays"

Kees Cook <kees@kernel.org> says:

This replaces some of the last remaining uses in the kernel of
1-element "fake" flexible arrays with modern C99 flexible arrays. Some
refactoring is done to ease this, and binary differences are
identified. For the on stack size changes in patch 2, the "yes, that
is the source of the binary differences" debugging patch can be found
here[1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?h=dev/v6.10-rc2/1-element&id=45e6226bcbc5e982541754eca7ac29f403e82f5e

Link: https://lore.kernel.org/r/20240711212732.work.162-kees@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/aachba.c
drivers/scsi/aacraid/aacraid.h