Skip to content
Snippets Groups Projects
Commit bf2bcd6f authored by Xu Wang's avatar Xu Wang Committed by David S. Miller
Browse files

otx2_common: Use devm_kcalloc() in otx2_config_npa()


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 8dfddfb7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment