Re: [PATCH] media-device: Remove duplicated memset() in media_enum_entities()

2014-07-17 Thread Laurent Pinchart
Hi Salva, Thank you for the patch. On Saturday 07 June 2014 16:41:44 Salva Peiró wrote: > After the zeroing the whole struct struct media_entity_desc u_ent, > it is no longer necessary to memset(0) its u_ent.name field. > > Signed-off-by: Salva Peiró > > To: Mauro Carvalho Chehab > CC: linux-

Re: [PATCH] media-device: Remove duplicated memset() in media_enum_entities()

2014-06-07 Thread Joe Perches
On Sat, 2014-06-07 at 16:41 +0200, Salva Peiró wrote: > After the zeroing the whole struct struct media_entity_desc u_ent, > it is no longer necessary to memset(0) its u_ent.name field. trivia: > diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c [] > @@ -106,8 +106,6 @@ sta

[PATCH] media-device: Remove duplicated memset() in media_enum_entities()

2014-06-07 Thread Salva Peiró
After the zeroing the whole struct struct media_entity_desc u_ent, it is no longer necessary to memset(0) its u_ent.name field. Signed-off-by: Salva Peiró To: Mauro Carvalho Chehab CC: linux-me...@vger.kernel.org CC: linux-kernel@vger.kernel.org CC: linux-kernel@vger.kernel.org CC: sta...@kerne