[PATCH v2 1/3] stacktrace: Remove reliable argument from arch_stack_walk() callback

Miroslav Benes mbenes at suse.cz
Wed Sep 2 05:26:30 EDT 2020


On Wed, 19 Aug 2020, Mark Brown wrote:

> Currently the callback passed to arch_stack_walk() has an argument called
> reliable passed to it to indicate if the stack entry is reliable, a comment
> says that this is used by some printk() consumers. However in the current
> kernel none of the arch_stack_walk() implementations ever set this flag to
> true and the only callback implementation we have is in the generic
> stacktrace code which ignores the flag. It therefore appears that this
> flag is redundant so we can simplify and clarify things by removing it.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

Reviewed-by: Miroslav Benes <mbenes at suse.cz>

M



More information about the linux-arm-kernel mailing list