Re: [PATCH] v4l2-dev.h: fix symbol collision in media_entity_to_video_device()

2018-01-25 Thread Mauro Carvalho Chehab
Hi Niklas, Em Thu, 25 Jan 2018 01:34:30 +0100 Niklas Söderlund escreveu: > A recent change to the media_entity_to_video_device() macro breaks some > use-cases for the macro due to a symbol collision. Before the change > this worked: > > vdev =

Re: [PATCH] v4l2-dev.h: fix symbol collision in media_entity_to_video_device()

2018-01-25 Thread Sakari Ailus
Hi guys, On Thu, Jan 25, 2018 at 08:59:35AM +0100, Geert Uytterhoeven wrote: > Hi Niklas, > > On Thu, Jan 25, 2018 at 1:34 AM, Niklas Söderlund > wrote: > > A recent change to the media_entity_to_video_device() macro breaks some > > use-cases for the macro

Re: [PATCH] v4l2-dev.h: fix symbol collision in media_entity_to_video_device()

2018-01-25 Thread Geert Uytterhoeven
Hi Niklas, On Thu, Jan 25, 2018 at 1:34 AM, Niklas Söderlund wrote: > A recent change to the media_entity_to_video_device() macro breaks some > use-cases for the macro due to a symbol collision. Before the change > this worked: > > vdev =

[PATCH] v4l2-dev.h: fix symbol collision in media_entity_to_video_device()

2018-01-24 Thread Niklas Söderlund
A recent change to the media_entity_to_video_device() macro breaks some use-cases for the macro due to a symbol collision. Before the change this worked: vdev = media_entity_to_video_device(link->sink->entity); While after the change it results in a compiler error "error: 'struct