diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2023-02-10 22:16:02 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-16 20:43:51 -0800 |
commit | d11a5621f3252120dfc7cef7600a90bd8e605caf (patch) | |
tree | a16ff43928a2b79347f1239ff064fbc2c8cb8a7a /lib/stmp_device.c | |
parent | cd0fc64e76844758b78d0fd376ae3ca4fd802049 (diff) | |
download | linux-d11a5621f3252120dfc7cef7600a90bd8e605caf.tar.gz linux-d11a5621f3252120dfc7cef7600a90bd8e605caf.tar.bz2 linux-d11a5621f3252120dfc7cef7600a90bd8e605caf.zip |
lib/stackdepot: rename next_pool_inited to next_pool_required
Stack depot uses next_pool_inited to mark that either the next pool is
initialized or the limit on the number of pools is reached. However,
the flag name only reflects the former part of its purpose, which is
confusing.
Rename next_pool_inited to next_pool_required and invert its value.
Also annotate usages of next_pool_required with comments.
Link: https://lkml.kernel.org/r/484fd2695dff7a9bdc437a32f8a6ee228535aa02.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions