Skip to content
Commit 9334d5ba authored by vulab's avatar vulab Committed by David S. Miller
Browse files

drivers: dpaa2: Use devm_kcalloc() in setup_dpni()



A multiplication for the size determination of a memory allocation
indicated that an array data structure should be processed.
Thus use the corresponding function "devm_kcalloc".

Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ae0b829d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment