2015-07-16 21:45 GMT+02:00 Martin Pieuchot <[email protected]>:
> On 16/07/15(Thu) 16:24, ludovic coues wrote:
>> But I don't know why this code is done this way. As it haven't been
>> touched since version 1.4 in 2008, I assume it's an old way of doing
>> things or a short term solution. If that the case, I'll go ahead and
>> change it.
>> Other possibility I think of is compiler on some architecture who
>> don't like struct ending with array of arbitrary size or that the
>> preferred way of doing things.
>
> Well you have a counter-example in the same file
> "struct usb_video_vc_processing_desc"
>
> M
>

struct usb_video_vc_processing_desc is a structure with an array of
fixed size. I want to introduce a structure with an array of arbitrary
size as last field.
I've been told that the compiler used ~ 8 years ago on half platforms
wouldn't have accepted that. Now, it should only cause problem on vax
and that platform don't have USB.

I'm working on the patch.

-- 

Cordialement, Coues Ludovic
+336 148 743 42

Reply via email to