diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2023-02-11 00:15:53 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-17 07:43:49 +0300 |
commit | df225c877d898992740d26250727a16db65c370d (patch) | |
tree | 6d977dceb336e547bfe34fc074c4e18c507c8b97 /lib/test_ubsan.c | |
parent | 735df3c3a3493cbedfa86739eec6e2ee37fe95f8 (diff) | |
download | linux-df225c877d898992740d26250727a16db65c370d.tar.xz |
lib/stackdepot: annotate init and early init functions
Add comments to stack_depot_early_init and stack_depot_init to explain
certain parts of their implementation.
Also add a pr_info message to stack_depot_early_init similar to the one
in stack_depot_init.
Also move the scale variable in stack_depot_init to the scope where it
is being used.
Link: https://lkml.kernel.org/r/d17fbfbd4d73f38686c5e3d4824a6d62047213a1.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/test_ubsan.c')
0 files changed, 0 insertions, 0 deletions