Re: [PATCH v2] tracing: Make is_signed_type() compatible with sparse

From: Steven Rostedt

Date: Wed Sep 02 2026 - 09:44:53 EST


On Wed, 2 Sep 2026 09:24:37 +0100
David Laight <david.laight.linux@xxxxxxxxx> wrote:

> > Yeah, it was originally used for the tracing format files so that
> > tooling can know how to display the raw values it parses. Also it is
> > used for the filtering logic to know how to compare to the raw values.
>
> And, in this case, the value is __bitwise so the 'tooling' doesn't know
> how to display/compare them and you get a compile error.
> Doesn't seem wrong :-)

Where is __bitwise used for a trace event field? Or is this an issue for
one of the other users of is_signed_type()?

-- Steve