OPP: switch to use kmemdup_array()
Use kmemdup_array() to avoid multiplication and possible overflows.Signed-off-by: Zhang Enpei <zhang.enpei@zte.com.cn>Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
authored by Zhang Enpei and committed by Viresh Kumar 11 months ago 03eadcbd ee3de3cf