diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2012-04-27 16:30:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-30 16:24:34 -0400 |
commit | f0b919d967284313be4a767ba92ab5a88cb27410 (patch) | |
tree | 2b6491553abf9bad7aac976f7b08f060cd4e20d5 /lib/dynamic_debug.c | |
parent | b48420c1d3019ce8d84fb8e58f4ca86b8e3655b8 (diff) |
dynamic_debug: deprecate ddebug_query, suggest dyndbg instead
With ddebug_dyndbg_boot_params_cb() handling bare dyndbg params, we
dont need ddebug_query param anymore. Add a warning when processing
ddebug_query= param that it is deprecated, and to change it to dyndbg=
Add a deprecation notice for v3.8 to feature-removal-schedule.txt, and
add a suggested deprecation period of 3 releases to the header.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Acked-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/dynamic_debug.c')
-rw-r--r-- | lib/dynamic_debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 8fba40179305..09f2cda88058 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c | |||
@@ -993,6 +993,8 @@ static int __init dynamic_debug_init(void) | |||
993 | 993 | ||
994 | /* ddebug_query boot param got passed -> set it up */ | 994 | /* ddebug_query boot param got passed -> set it up */ |
995 | if (ddebug_setup_string[0] != '\0') { | 995 | if (ddebug_setup_string[0] != '\0') { |
996 | pr_warn("ddebug_query param name is deprecated," | ||
997 | " change it to dyndbg\n"); | ||
996 | ret = ddebug_exec_queries(ddebug_setup_string); | 998 | ret = ddebug_exec_queries(ddebug_setup_string); |
997 | if (ret < 0) | 999 | if (ret < 0) |
998 | pr_warn("Invalid ddebug boot param %s", | 1000 | pr_warn("Invalid ddebug boot param %s", |