Files
linux/scripts
Ting-Han Hou b6232ca8d1 scripts/gdb: fix stack depot out-of-bounds diagnostic
The pool_index field was renamed to pool_index_plus_1, but the
out-of-bounds diagnostic in stack_depot_fetch() still accesses the old
field.  Looking up a handle whose pool index is outside stack_pools
therefore raises "There is no member named pool_index" instead of printing
the diagnostic and returning an empty result.

Use the already decoded pool_index variable in the diagnostic.

Link: https://lore.kernel.org/[email protected]
Fixes: 9d938f40b2 ("scripts/gdb: rename pool_index to pool_index_plus_1")
Signed-off-by: Ting-Han Hou <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Assisted-by: LLM
Cc: Jan Kiszka <[email protected]>
Cc: Kieran Bingham <[email protected]>
Cc: Kuan-Ying Lee <[email protected]>
2026-10-24 00:46:53 -07:00
..
2024-10-07 02:12:27 +09:00
…
…
…
…
…
2024-11-28 08:11:56 +09:00
2026-01-11 06:09:11 -10:00
2026-07-27 17:18:00 +02:00