[PATCH 0/2] s390/vfio-*: make mdev_types unlike a fake flex array

Halil Pasic posted 2 patches 10 months ago
drivers/s390/cio/vfio_ccw_drv.c       | 6 +++---
drivers/s390/cio/vfio_ccw_private.h   | 2 +-
drivers/s390/crypto/vfio_ap_ops.c     | 4 ++--
drivers/s390/crypto/vfio_ap_private.h | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
[PATCH 0/2] s390/vfio-*: make mdev_types unlike a fake flex array
Posted by Halil Pasic 10 months ago
One sized trailing array members can look like fake flex arrays and
confuse people. Let us try to make the mdev_types member of the parent
devices in vfio-ap and vfio-ccw less confusing.


Halil Pasic (2):
  s390/vfio-ap: make mdev_types not look like a fake flex array
  s390/vfio-ccw: make mdev_types not look like a fake flex array

 drivers/s390/cio/vfio_ccw_drv.c       | 6 +++---
 drivers/s390/cio/vfio_ccw_private.h   | 2 +-
 drivers/s390/crypto/vfio_ap_ops.c     | 4 ++--
 drivers/s390/crypto/vfio_ap_private.h | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)


base-commit: 0ad2507d5d93f39619fc42372c347d6006b64319
-- 
2.45.2
Re: [PATCH 0/2] s390/vfio-*: make mdev_types unlike a fake flex array
Posted by Vasily Gorbik 10 months ago
On Mon, Feb 17, 2025 at 11:06:12AM +0100, Halil Pasic wrote:
> 
> One sized trailing array members can look like fake flex arrays and
> confuse people. Let us try to make the mdev_types member of the parent
> devices in vfio-ap and vfio-ccw less confusing.
> 
> 
> Halil Pasic (2):
>   s390/vfio-ap: make mdev_types not look like a fake flex array
>   s390/vfio-ccw: make mdev_types not look like a fake flex array
> 
>  drivers/s390/cio/vfio_ccw_drv.c       | 6 +++---
>  drivers/s390/cio/vfio_ccw_private.h   | 2 +-
>  drivers/s390/crypto/vfio_ap_ops.c     | 4 ++--
>  drivers/s390/crypto/vfio_ap_private.h | 2 +-
>  4 files changed, 7 insertions(+), 7 deletions(-)

Applied, thank you!