diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-09-24 09:11:58 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-09-30 21:36:28 +0200 |
| commit | 5f81ffdf26072fd262093c4127e656276564395f (patch) | |
| tree | 694f31347e4fa701ec008fad06f937a5a0f83496 /tools/perf/scripts/python | |
| parent | 2111eb4273e7fda0815de85319653104f323c441 (diff) | |
| download | linux-next-5f81ffdf26072fd262093c4127e656276564395f.tar.gz linux-next-5f81ffdf26072fd262093c4127e656276564395f.zip | |
tools/nolibc: fix the function argument order of calloc()
As per the man page, the number of elements should be the first argument
and the size of each one the second.
Switch the arguments around.
The behavior will not change, as both arguments are only multiplied with
each other.
Reported-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/lkml/aqQmCtPf_5M-BjRW@google.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20260924-nolibc-calloc-v1-1-c49b383475d5@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
