Re: [PATCH] Re: [PATCH] Multi protocol support (stage #1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 19, 2006, Marcel Siegert wrote:
> a) don't get any kind of e.g. memcopy problems with new structs and old 
> kernels after
>    this patch went in. so the size of e.g. the tuning params for dvb-s2 can 
>    be extended
>    without having to change the structs size. so also old kernel will 
>    perform a correct
>    memcopy.

For binary compatibility it isn't sufficient to just add new
fields to struct dvbs2_params. There must also be an indicator
which the kernel can use to see if struct dvb_frontend_params
was prepared by old or new userspace, i.e. if the new fields
are valid or contain uninitialized data.

That's why I propsed a "flags" field for struct dvbs2_params
in my version of the patch.

Johannes

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux