[PATCH v4 07/18] nvme: Fix reservation status related structs

Christoph Hellwig hch at lst.de
Tue Mar 14 10:15:38 PDT 2023


On Fri, Feb 24, 2023 at 11:44:51AM -0600, Mike Christie wrote:
> +	__u8	resv10[14];
> +	union {
> +		struct {
> +			__u8	rsvd24[40];
> +			struct nvme_registered_ctrl_ext regctl_eds[0];
> +		};
> +		struct nvme_registered_ctrl regctl_ds[0];
> +	};

... actually - I think both these zero sized arrays should
be the modern [] notation.



More information about the Linux-nvme mailing list