Skip to content

vfio/ccw: Replace one-element array with flexible-array member

Gustavo A. R. Silva kvm linux-hardening linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfio/ccw: Replace one-element array with flexible-array memberdrivers/s390/cio/vfio_ccw_drv.c drivers/s390/cio/vfio_ccw_private.h+3 -24 replies
2/2vfio/ccw: Use struct_size() helperdrivers/s390/cio/vfio_ccw_drv.c+1 -22 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric FarmanMatthew RosatoKees Cook
SeriesR-b
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2][next] vfio/ccw: Replace one-element array with flexible-array member

Hi!

This small series aims to replace a one-element array with a flexible-array member in struct vfio_ccw_parent.

This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines on memcpy() and help us make progress towards globally enabling -fstrict-flex-arrays=3 [1].

Gustavo A. R. Silva (2):
vfio/ccw: Replace one-element array with flexible-array member vfio/ccw: Use struct_size() helper

 drivers/s390/cio/vfio_ccw_drv.c     | 2 +-
 drivers/s390/cio/vfio_ccw_private.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1