aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKuan-Wei Chiu <visitorckw@gmail.com>2025-02-16 00:56:18 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 23:24:14 -0700
commit0ac451ecec6dd516fdac1ca064467e753ef6ae1a (patch)
treee8528405be435674c5da55ffc26cf740ae02ef7c /scripts/gdb/linux/utils.py
parentreboot: retire hw_protection_reboot and hw_protection_shutdown helpers (diff)
downloadwireguard-linux-0ac451ecec6dd516fdac1ca064467e753ef6ae1a.tar.xz
wireguard-linux-0ac451ecec6dd516fdac1ca064467e753ef6ae1a.zip
lib min_heap: use size_t for array size and index variables
Replace the int type with size_t for variables representing array sizes and indices in the min-heap implementation. Using size_t aligns with standard practices for size-related variables and avoids potential issues on platforms where int may be insufficient to represent all valid sizes or indices. Link: https://lkml.kernel.org/r/20250215165618.1757219-1-visitorckw@gmail.com Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com> Cc: Ching-Chun (Jim) Huang <jserv@ccns.ncku.edu.tw> Cc: Yu-Chun Lin <eleanor15x@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions