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

From: David Laight

Date: Wed Sep 02 2026 - 11:58:07 EST


On Wed, 2 Sep 2026 09:36:44 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> 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?

Not sure, it wasn't in any of the emails.

David

> Or is this an issue for
> one of the other users of is_signed_type()?
>
> -- Steve