diff options
| author | Naveen Kumar Chaudhary <naveen.osdev@gmail.com> | 2026-06-07 09:48:58 +0530 |
|---|---|---|
| committer | Petr Pavlu <petr.pavlu@suse.com> | 2026-08-06 13:29:02 +0200 |
| commit | a3126c746ddfe1cc3f6eee70475a33906e173ece (patch) | |
| tree | f2a91c50b15c81758bb50741ccf1c0f6239e5e0d /tools/perf/scripts/python/task-analyzer.py | |
| parent | 93c29ebd1622fb0670701e1c1b3a978a5cac08b7 (diff) | |
module: procfs: use matching type for accumulator in module_total_size()
module_total_size() returns unsigned int but uses a signed int
accumulator. While the result is numerically correct, the type
mismatch is misleading.
Change the accumulator to unsigned int to match the return type.
Signed-off-by: Naveen Kumar Chaudhary <naveen.osdev@gmail.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
[ppavlu: correct the commit title]
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
