[media] stm32-dcmi: Improve four size determinations

SF Markus Elfring elfring at users.sourceforge.net
Fri Sep 15 11:54:44 PDT 2017


>> +	memcpy(dcmi->sd_formats, sd_fmts, num_fmts * sizeof(*dcmi->sd_formats));
> 
> devm_kmemdup

Are function variants provided which handle memory duplications
for arrays explicitly?

Regards,
Markus



More information about the linux-arm-kernel mailing list