[PATCH 2/3] sched/core: Add sched_stack_end_check= boot parameter
Randy Dunlap
rdunlap at infradead.org
Tue Oct 27 16:34:56 PDT 2026
On 10/26/26 11:36 PM, Chris Down wrote:
> +static int __init setup_sched_stack_end_check(char *str)
> +{
> + bool enable;
> +
> + if (kstrtobool(str, &enable)) {
> + pr_warn("Unable to parse sched_stack_end_check=\n");
> + return 0;
> + }
This error branch should return 1 since it handled the command
line parameter -- it just didn't like the "value."
Returning 0 causes the option string to be added to init's
environment, which is not wanted in this case.
--
~Randy
More information about the linux-arm-kernel
mailing list