commit | bf2bcd6f1a8822ea45465f86d705951725883ee8 | [log] [tgz] |
---|---|---|
author | Xu Wang <vulab@iscas.ac.cn> | Mon Aug 17 02:04:13 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 17 15:08:39 2020 -0700 |
tree | 21d1f141887b7d840236680114ab3cbe60829098 | |
parent | 8dfddfb79653df7c38a9c8c4c034f242a36acee9 [diff] |
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: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: David S. Miller <davem@davemloft.net>