commit | 9334d5ba32c052fc925e0c817dc398c98b093221 | [log] [tgz] |
---|---|---|
author | Xu Wang <vulab@iscas.ac.cn> | Thu Jun 11 02:45:20 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 11 12:41:12 2020 -0700 |
tree | 4379f8d173b9b45053acae5e8666bfed3c130009 | |
parent | ae0b829df7120c78692e49c88453007e531c0e00 [diff] |
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: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: David S. Miller <davem@davemloft.net>