Re: [PATCH] [next] drm/amdgpu: Replace one-element array with flex-array member

2022-11-10 Thread Alex Deucher
On Thu, Nov 10, 2022 at 10:57 AM Alex Deucher wrote: > > On Wed, Nov 9, 2022 at 2:33 AM Paulo Miguel Almeida > wrote: > > > > One-element arrays are deprecated, and we are replacing them with > > flexible array members instead. So, replace one-element array with > > flexible-array member in struc

Re: [PATCH] [next] drm/amdgpu: Replace one-element array with flex-array member

2022-11-10 Thread Alex Deucher
On Wed, Nov 9, 2022 at 2:33 AM Paulo Miguel Almeida wrote: > > One-element arrays are deprecated, and we are replacing them with > flexible array members instead. So, replace one-element array with > flexible-array member in structs _ATOM_CONNECTOR_DEVICE_TAG_RECORD, > _ATOM_OBJECT_GPIO_CNTL_RECOR