On Thu, May 07, 2020 at 03:15:44PM -0500, Bjorn Helgaas wrote: > On Thu, May 07, 2020 at 02:05:44PM -0500, Gustavo A. R. Silva wrote: > > The current codebase makes use of the zero-length array language > > extension to the C90 standard, but the preferred mechanism to declare > > variable-length types such as these ones is a flexible array member[1][2], > > introduced in C99: > > > > struct foo { > > int stuff; > > struct boo array[]; > > }; > > > > Signed-off-by: Gustavo A. R. Silva <gustavoars@xxxxxxxxxx> > > Applied to pci/misc for v5.8, thanks! > > I assume this takes care of everything in drivers/pci/, right? I'd > like to do them all at once, so if there are others, send another > patch and I'll squash them. I took a quick look but didn't see any. > Yep. I can confirm that these are the last zero-length arrays in drivers/pci/ :) Thanks -- Gustavo