Tag: e2779e1698c7dbf36a02a9922d216b4db0e212b8

drm/exynos: Replaced kzalloc & memcpy with kmemdup

Author: Alexandru Gheorghiu <gheorghiuandru@gmail.com> Replaced calls to kzalloc followed by memcpy with call to kmemdup. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu Acked-by: Seung-Woo Kim Signed-off-by: Inki Dae — drivers/gpu/drm/exynos/exynos_drm_vidi.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff –git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 13ccbd4..9504b0c 100644 — a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -117,13 +117,12 …

Continue reading