Commit 03eadcbd authored by Zhang Enpei's avatar Zhang Enpei Committed by Viresh Kumar
Browse files

OPP: switch to use kmemdup_array()



Use kmemdup_array() to avoid multiplication and possible overflows.

Signed-off-by: default avatarZhang Enpei <zhang.enpei@zte.com.cn>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent ee3de3cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment