commit | 870fdd851ca50ffa552c41fd127afafceb303eca | [log] [tgz] |
---|---|---|
author | Xu Wang <vulab@iscas.ac.cn> | Thu Jul 16 11:57:36 2020 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 21 15:48:39 2020 +0200 |
tree | 20e30fdaabd107fdab2a3826281b4e8c0f551f1e | |
parent | 784bb9ad490d26bb1ae059a3197b3b1c55ff4e20 [diff] |
coresight: Use devm_kcalloc() in coresight_alloc_conns() 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: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20200716175746.3338735-8-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>