Re: [PATCH 13/18] drm/edid: Use kmemdup instead of kmalloc + memcpy

2014-05-27 Thread Alex Deucher
On Mon, May 26, 2014 at 11:21 AM, Benoit Taine wrote: > This issue was reported by coccicheck using the semantic patch > at scripts/coccinelle/api/memdup.cocci > > Signed-off-by: Benoit Taine > --- > Tested by compilation without errors. Reviewed-by: Alex Deucher > > drivers/gpu/drm/drm_edid.

Re: [PATCH 13/18] drm/edid: Use kmemdup instead of kmalloc + memcpy

2014-05-26 Thread Jani Nikula
On Mon, 26 May 2014, Benoit Taine wrote: > This issue was reported by coccicheck using the semantic patch > at scripts/coccinelle/api/memdup.cocci Reviewed-by: Jani Nikula > > Signed-off-by: Benoit Taine > --- > Tested by compilation without errors. > > drivers/gpu/drm/drm_edid.c |3 +--

[PATCH 13/18] drm/edid: Use kmemdup instead of kmalloc + memcpy

2014-05-26 Thread Benoit Taine
This issue was reported by coccicheck using the semantic patch at scripts/coccinelle/api/memdup.cocci Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/gpu/drm/drm_edid.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_ed