lib/stackdepot: fix obsolete comments
Subsystems (2)
PATCH 1/1 lib/stackdepot: fix obsolete comments
This change replaces "depot_save_stack" with "stack_depot_save" in code comments because that depot_save_stack() is replaced by stack_depot_save() in commit c0cfc337264c ("lib/stackdepot: Provide functions which operate on plain storage arrays") and depot_save_stack() is removed in commit 56d8f079c51a ("lib/stackdepot: Remove obsolete functions")
--- lib/stackdepot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/stackdepot.c +2 -2
@@ -87,7 +87,7 @@ static bool init_stack_slab(void **prealloc) stack_slabs[depot_index +1 ] = *prealloc;/* * This smp_store_release pairs with smp_load_acquire() from -* |next_slab_inited| above and in depot_save_stack(). +* |next_slab_inited| above and in stack_depot_save(). */ smp_store_release (&next_slab_inited,1 ); }
@@ -114,7 +114,7 @@ static struct stack_record *depot_alloc_stack(unsigned long *entries, int size, depot_offset =0 ;/* * smp_store_release() here pairs with smp_load_acquire() from -* |next_slab_inited| in depot_save_stack() and +* |next_slab_inited| in stack_depot_save() and * init_stack_slab(). */ if (depot_index +1 <STACK_ALLOC_MAX_SLABS )
Signature · 1 line
2.18.0
tip-bot for Miles Chen
merge bot[tip:core/stacktrace] lib/stackdepot: Fix outdated comments
lib/stackdepot: Fix outdated comments
Commit-ID: ee050dc83bc326ad5ef8ee93bca344819371e7a5 Gitweb: https://git.kernel.org/tip/ee050dc83bc326ad5ef8ee93bca344819371e7a5 Author: Miles Chen <[email protected]> AuthorDate: Thu, 15 Aug 2019 19:32:46 +0800 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 19 Aug 2019 12:57:28 +0200
lib/stackdepot: Fix outdated comments
Replace "depot_save_stack" with "stack_depot_save" in code comments because depot_save_stack() was replaced in commit c0cfc337264c ("lib/stackdepot:
Provide functions which operate on plain storage arrays") and removed in commit 56d8f079c51a ("lib/stackdepot: Remove obsolete functions")
--- lib/stackdepot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/stackdepot.c +2 -2
@@ -87,7 +87,7 @@ static bool init_stack_slab(void **prealloc) stack_slabs[depot_index +1 ] = *prealloc;/* * This smp_store_release pairs with smp_load_acquire() from -* |next_slab_inited| above and in depot_save_stack(). +* |next_slab_inited| above and in stack_depot_save(). */ smp_store_release (&next_slab_inited,1 ); }
@@ -114,7 +114,7 @@ static struct stack_record *depot_alloc_stack(unsigned long *entries, int size, depot_offset =0 ;/* * smp_store_release() here pairs with smp_load_acquire() from -* |next_slab_inited| in depot_save_stack() and +* |next_slab_inited| in stack_depot_save() and * init_stack_slab(). */ if (depot_index +1 <STACK_ALLOC_MAX_SLABS )