diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-05-21 09:57:13 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-06-08 18:55:13 +0300 |
commit | a4da4913a04de89b75ff874e5962deee2b8be177 (patch) | |
tree | 1efe624cdb0cfb3d0d868aae02ba6cc82a78d708 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0a3ca0867c1ffaab83f76001e8ff4f7e4e6496d5 (diff) | |
download | linux-a4da4913a04de89b75ff874e5962deee2b8be177.tar.xz |
ice: Use correct order for the parameters of devm_kcalloc()
We should have 'n', then 'size', not the opposite.
This is harmless because the 2 values are just multiplied, but having
the correct order silence a (unpublished yet) smatch warning.
While at it use '*tun_seg' instead '*seg'. The both variable have the same
type, so the result is the same, but it lokks more logical.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions