diff options
| author | Kees Cook <[email protected]> | 2023-01-03 23:48:36 +0000 |
|---|---|---|
| committer | Karol Herbst <[email protected]> | 2023-01-16 17:18:12 +0000 |
| commit | 54d47689c6e3892ddb24004e07bfcb3f23aa0222 (patch) | |
| tree | e80d26c5f69c942b7651154dd0ffa84571df8e67 /drivers/gpu/drm/omapdrm/omap_irq.c | |
| parent | drm/bridge: tc358767: Set default CLRSIPO count (diff) | |
| download | kernel-54d47689c6e3892ddb24004e07bfcb3f23aa0222.tar.gz kernel-54d47689c6e3892ddb24004e07bfcb3f23aa0222.zip | |
drm/nouveau/fb/ga102: Replace zero-length array of trailing structs with flex-array
Zero-length arrays are deprecated[1] and are being replaced with
flexible array members in support of the ongoing efforts to tighten the
FORTIFY_SOURCE routines on memcpy(), correctly instrument array indexing
with UBSAN_BOUNDS, and to globally enable -fstrict-flex-arrays=3.
Replace zero-length array with flexible-array member.
This results in no differences in binary output.
[1] https://github.com/KSPP/linux/issues/78
Cc: Ben Skeggs <[email protected]>
Cc: Karol Herbst <[email protected]>
Cc: Lyude Paul <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Gourav Samaiya <[email protected]>
Cc: "Gustavo A. R. Silva" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Signed-off-by: Karol Herbst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
0 files changed, 0 insertions, 0 deletions
