diff options
author | Tom Zanussi <zanussi@kernel.org> | 2022-01-27 15:44:17 -0600 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-01-27 19:15:49 -0500 |
commit | 097f1eefedeab528cecbd35586dfe293853ffb17 (patch) | |
tree | f9b9bd1132d45089114571f2aea4ab1af64b795a /Documentation/block | |
parent | b59f2f2b865cedd6d1641394b9cd84399bd738ff (diff) | |
download | linux-097f1eefedeab528cecbd35586dfe293853ffb17.tar.bz2 |
tracing: Propagate is_signed to expression
During expression parsing, a new expression field is created which
should inherit the properties of the operands, such as size and
is_signed.
is_signed propagation was missing, causing spurious errors with signed
operands. Add it in parse_expr() and parse_unary() to fix the problem.
Link: https://lkml.kernel.org/r/f4dac08742fd7a0920bf80a73c6c44042f5eaa40.1643319703.git.zanussi@kernel.org
Cc: stable@vger.kernel.org
Fixes: 100719dcef447 ("tracing: Add simple expression support to hist triggers")
Reported-by: Yordan Karadzhov <ykaradzhov@vmware.com>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=215513
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions