[dm-devel] [PATCH v4 07/18] nvme: Fix reservation status related structs
Christoph Hellwig
hch at lst.de
Tue Mar 14 17:15:38 UTC 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 dm-devel
mailing list