diff options
author | Shuo Chen <shuochen@google.com> | 2021-04-15 00:24:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-30 08:43:20 +0300 |
commit | 7b1ae248279bea33af9e797a93c35f49601cb8a0 (patch) | |
tree | 39aedc339983c0e7d593ba42d9082a30fab48d18 /drivers/remoteproc/remoteproc_cdev.c | |
parent | f1ce3986baa62cffc3c5be156994de87524bab99 (diff) | |
download | linux-7b1ae248279bea33af9e797a93c35f49601cb8a0.tar.xz |
dyndbg: fix parsing file query without a line-range suffix
Query like 'file tcp_input.c line 1234 +p' was broken by
commit aaebe329bff0 ("dyndbg: accept 'file foo.c:func1' and 'file
foo.c:10-100'") because a file name without a ':' now makes the loop in
ddebug_parse_query() exits early before parsing the 'line 1234' part.
As a result, all pr_debug() in tcp_input.c will be enabled, instead of only
the one on line 1234. Changing 'break' to 'continue' fixes this.
Fixes: aaebe329bff0 ("dyndbg: accept 'file foo.c:func1' and 'file foo.c:10-100'")
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Shuo Chen <shuochen@google.com>
Acked-by: Jason Baron <jbaron@akamai.com>
Link: https://lore.kernel.org/r/20210414212400.2927281-1-giantchen@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/remoteproc/remoteproc_cdev.c')
0 files changed, 0 insertions, 0 deletions