Commit 9334d5b
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>1 parent ae0b829 commit 9334d5b
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2907 | 2907 | | |
2908 | 2908 | | |
2909 | 2909 | | |
2910 | | - | |
2911 | | - | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
2912 | 2913 | | |
2913 | 2914 | | |
2914 | 2915 | | |
| |||
0 commit comments