Tag: bc6a541941df6e05b0c53133537ce4cf31336c3f

drivers: gpu: drm: gma500: Replaced calls kzalloc & memcpy with kmemdup

Author: Alexandru Gheorghiu <gheorghiuandru@gmail.com> Replaced calls kzalloc followed by memcpy with call to kmemdup. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu Signed-off-by: Patrik Jakobsson — drivers/gpu/drm/gma500/intel_bios.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/drivers/gpu/drm/gma500/intel_bios.c b/drivers/gpu/drm/gma500/intel_bios.c index 403fffb..d349734 100644 — a/drivers/gpu/drm/gma500/intel_bios.c +++ b/drivers/gpu/drm/gma500/intel_bios.c @@ -218,12 +218,11 @@ static void parse_backlight_data(struct …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.