Re: [PATCH] s390/vfio-ap: Replace one-element array with flexible array member
From: Alexander Gordeev
Date: Tue Jan 28 2025 - 08:56:57 EST
On Thu, Jan 16, 2025 at 02:18:59PM +0100, Thorsten Blum wrote:
> Replace the deprecated one-element array with a modern flexible array
> member in the struct ap_matrix_dev.
>
> Use struct_size() to calculate the number of bytes to allocate for
> matrix_dev with a single mdev_type.
>
> Link: https://github.com/KSPP/linux/issues/79
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> drivers/s390/crypto/vfio_ap_drv.c | 2 +-
> drivers/s390/crypto/vfio_ap_private.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Hi Tony, Halil, Jason,
Could you please take a look?
Thanks!