Re: [PATCH] staging/omapdrm: Use kmemdup rather than duplicating its implementation

2013-01-29 Thread Rob Clark
On 01/25/2013 05:40 PM, Peter Huewe wrote: Found with coccicheck. The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Peter Huewe Signed-off-by: Rob Clark --- drivers/staging/omapdrm/omap_gem.c |4 ++-- 1 files changed, 2 ins

[PATCH] staging/omapdrm: Use kmemdup rather than duplicating its implementation

2013-01-25 Thread Peter Huewe
Found with coccicheck. The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Peter Huewe --- drivers/staging/omapdrm/omap_gem.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/omapdrm/omap_gem.c