Re: [PATCH v8 19/55] [media] media: convert links from array to list

2015-09-04 Thread Mauro Carvalho Chehab
Em Fri, 04 Sep 2015 11:00:38 +0200 Hans Verkuil escreveu: > On 09/04/2015 10:41 AM, Sakari Ailus wrote: > > Hi Mauro, > > > > On Sun, Aug 30, 2015 at 12:06:30AM -0300, Mauro Carvalho Chehab wrote: > >> The entire logic that represent graph links were developed on a > >> time where there were no

Re: [PATCH v8 19/55] [media] media: convert links from array to list

2015-09-04 Thread Hans Verkuil
On 09/04/2015 10:41 AM, Sakari Ailus wrote: > Hi Mauro, > > On Sun, Aug 30, 2015 at 12:06:30AM -0300, Mauro Carvalho Chehab wrote: >> The entire logic that represent graph links were developed on a >> time where there were no needs to dynamic remove links. So, >> although links are created/removed

Re: [PATCH v8 19/55] [media] media: convert links from array to list

2015-09-04 Thread Sakari Ailus
Hi Mauro, On Sun, Aug 30, 2015 at 12:06:30AM -0300, Mauro Carvalho Chehab wrote: > The entire logic that represent graph links were developed on a > time where there were no needs to dynamic remove links. So, > although links are created/removed one by one via some > functions, they're stored as a

[PATCH v8 19/55] [media] media: convert links from array to list

2015-08-29 Thread Mauro Carvalho Chehab
The entire logic that represent graph links were developed on a time where there were no needs to dynamic remove links. So, although links are created/removed one by one via some functions, they're stored as an array inside the entity struct. As the array may grow, there's a logic inside the code