Re: [PATCH] compiler.h: Support 64-bit bitwise types in is_signed_type()
From: Bart Van Assche
Date: Tue Nov 17 2026 - 11:32:18 EST
On 11/17/26 12:06 AM, David Laight wrote:
Don't the trace definitions need fixing?Are you perhaps suggesting that we should tell ftrace users that it is
The trace code prints the numeric value so you really want a host
ordered value in the trace record.
An alternative view is that even asking the question 'is_signed_type'
of a bitwise variable makes no sense.
no longer allowed to declare __le64 fields, something they probably
would not consider reasonable? Please let me know if I misunderstood
your question. Below is an incomplete overview of the examples of __le64
tracing fields (__le64 typedefs have been ignored):
$ git grep -nHF '__field(__le64'
net/ieee802154/trace.h:74: __field(__le64, extended_addr)
net/ieee802154/trace.h:367: __field(__le64, addr)
net/ieee802154/trace.h:386: __field(__le64, addr)
net/mac80211/trace.h:2507: __field(__le64, twt)
net/mac802154/trace.h:191: __field(__le64, extended_addr)
net/mac802154/trace.h:272: __field(__le64, addr)
Thanks,
Bart.