lkml.org 
[lkml]   [2017]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [media] stm32-dcmi: Improve four size determinations
From
Date
>> +	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

\
 
 \ /
  Last update: 2017-09-15 20:56    [W:0.036 / U:2.696 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site