Re: [PATCH 0/3] v4l2-compat-ioctl32.c: better detect pointer controls

2017-08-10 Thread Mauro Carvalho Chehab
Em Thu, 10 Aug 2017 20:45:10 -0300 Mauro Carvalho Chehab escreveu: > In the past, only string controls were pointers. That changed when compounded > types got added, but the compat32 code was not updated. > > We could just add those controls there, but maintaining it is flaw, as we > often forge

[PATCH 0/3] v4l2-compat-ioctl32.c: better detect pointer controls

2017-08-10 Thread Mauro Carvalho Chehab
In the past, only string controls were pointers. That changed when compounded types got added, but the compat32 code was not updated. We could just add those controls there, but maintaining it is flaw, as we often forget about the compat code. So, instead, rely on the control type, as this is alwa