Re: [PATCH 2/2] media: implement 32-on-64 bit compat IOCTL handling

2013-01-22 Thread Sakari Ailus
Hi Hans, Thanks for the comments! On Tue, Jan 22, 2013 at 08:03:01PM +0100, Hans Verkuil wrote: > On Tue January 22 2013 17:27:56 Sakari Ailus wrote: > > Use the same handlers where the structs are the same. Implement a new > > handler for link enumeration since struct media_links_enum is differe

Re: [PATCH 2/2] media: implement 32-on-64 bit compat IOCTL handling

2013-01-22 Thread Hans Verkuil
On Tue January 22 2013 17:27:56 Sakari Ailus wrote: > Use the same handlers where the structs are the same. Implement a new > handler for link enumeration since struct media_links_enum is different on > 32-bit and 64-bit systems. I think I would prefer to have the compat handling split off into a

[PATCH 2/2] media: implement 32-on-64 bit compat IOCTL handling

2013-01-22 Thread Sakari Ailus
Use the same handlers where the structs are the same. Implement a new handler for link enumeration since struct media_links_enum is different on 32-bit and 64-bit systems. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart Tested-by: Laurent Pinchart --- drivers/media/media-device.c | 102