mm-use-strtobool-for-param-parsing.patch removed from -mm tree
The patch titled
Subject: mm/page_table_check.c: use strtobool for param parsing
has been removed from the -mm tree. Its filename was
mm-use-strtobool-for-param-parsing.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Dr. David Alan Gilbert" <[email protected]>
Subject: mm/page_table_check.c: use strtobool for param parsing
Use strtobool rather than open coding "on" and "off" parsing.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/page_table_check.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
mm/page_table_check.c renamed from mm/page_table_check.c~mm-use-strtobool-for-param-parsing +1 -9
@@ -23,15 +23,7 @@ EXPORT_SYMBOL(page_table_check_disabled)static int __init early_page_table_check_param (char *buf) { -if (!buf) -return -EINVAL ; - -if (strcmp (buf,"on" ) ==0 ) - __page_table_check_enabled = true; -else if (strcmp (buf,"off" ) ==0 ) - __page_table_check_enabled = false; - -return 0 ; +return strtobool (buf, &__page_table_check_enabled); }early_param ("page_table_check" , early_page_table_check_param);
_
Patches currently in -mm which might be from [email protected] are