Re: [PATCH 1/2] dynamic_debug: fix optional/omitted ending line number to be LARGE instead of 0

2017-11-10 Thread Jason Baron
On 11/09/2017 04:52 PM, Randy Dunlap wrote: > From: Randy Dunlap > > line-range is supposed to treat "1-" as "1-endoffile", so > handle the special case by setting last_lineno to UINT_MAX. > > Fixes this error: > > dynamic_debug:ddebug_parse_query: last-line:0 <

Re: [PATCH 1/2] dynamic_debug: fix optional/omitted ending line number to be LARGE instead of 0

2017-11-10 Thread Jason Baron
On 11/09/2017 04:52 PM, Randy Dunlap wrote: > From: Randy Dunlap > > line-range is supposed to treat "1-" as "1-endoffile", so > handle the special case by setting last_lineno to UINT_MAX. > > Fixes this error: > > dynamic_debug:ddebug_parse_query: last-line:0 < 1st-line:1 >

[PATCH 1/2] dynamic_debug: fix optional/omitted ending line number to be LARGE instead of 0

2017-11-09 Thread Randy Dunlap
From: Randy Dunlap line-range is supposed to treat "1-" as "1-endoffile", so handle the special case by setting last_lineno to UINT_MAX. Fixes this error: dynamic_debug:ddebug_parse_query: last-line:0 < 1st-line:1 dynamic_debug:ddebug_exec_query: query parse failed

[PATCH 1/2] dynamic_debug: fix optional/omitted ending line number to be LARGE instead of 0

2017-11-09 Thread Randy Dunlap
From: Randy Dunlap line-range is supposed to treat "1-" as "1-endoffile", so handle the special case by setting last_lineno to UINT_MAX. Fixes this error: dynamic_debug:ddebug_parse_query: last-line:0 < 1st-line:1 dynamic_debug:ddebug_exec_query: query parse failed Signed-off-by: Randy Dunlap