diff options
author | Andy Shevchenko <[email protected]> | 2022-06-08 15:03:58 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-06-10 08:36:08 -0700 |
commit | 9a7a1be6b618fb1c73f497c7f465dd355dca0b13 (patch) | |
tree | db91fa679917d3e036848a3668450a68da020ee9 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 0fb0bf7a8c751b39b63456b04a74dee3ecfd2204 (diff) |
ptp_ocp: replace kzalloc(x*y) by kcalloc(y, x)
While here it may be no difference, the kcalloc() has some checks
against overflow and it's logically correct to call it for an array.
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Vadim Fedorenko <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions