Re: [PATCH] staging: wfx: avoid defining array of flexible struct

2021-02-11 Thread Muhammad Usama Anjum
> I think that "#include " is no more necessary. Good catch. I'll send another patch. Thanks, Usama ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] staging: wfx: avoid defining array of flexible struct

2021-02-11 Thread Jérôme Pouiller
On Thursday 11 February 2021 11:50:26 CET Muhammad Usama Anjum wrote: > > In this particular case, the struct element is already flexible struct. > Thus struct element ie[] is ambiguous inside another struct. The members > of struct element ie aren't being accessed in code anywhere. The data of >

[PATCH] staging: wfx: avoid defining array of flexible struct

2021-02-11 Thread Muhammad Usama Anjum
In this particular case, the struct element is already flexible struct. Thus struct element ie[] is ambiguous inside another struct. The members of struct element ie aren't being accessed in code anywhere. The data of u8 type is copied in it. So it has been changed to u8 ie[] to make the sparse hap