Message ID | 95cf53f0da2c112aa2cc54456cbcd6975c3ff343.1676129911.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [mm] lib/stackdepot: fix for "annotate racy pool_index accesses" | expand |
diff --git a/lib/stackdepot.c b/lib/stackdepot.c index ec772e78af39..036da8e295d1 100644 --- a/lib/stackdepot.c +++ b/lib/stackdepot.c @@ -470,7 +470,7 @@ unsigned int stack_depot_fetch(depot_stack_handle_t handle, if (parts.pool_index > pool_index_cached) { WARN(1, "pool index %d out of bounds (%d) for stack id %08x\n", - parts.pool_index, pool_index, handle); + parts.pool_index, pool_index_cached, handle); return 0; } pool = stack_pools[parts.pool_index];