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

From: Bart Van Assche

Date: Tue Sep 01 2026 - 16:06:39 EST


On 9/1/26 12:35 PM, Linus Torvalds wrote:
Does that tree at least work for you? Maybe we can convince somebody
who is a better maintainer than I clearly have ever been to make my
messy branch be something actually palatable...

Hi Linus,

With the master branch of your sparse tree
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/sparse.git/)
sparse does not complain about the is_signed_type() implementation.
Please note that I have not tried to verify whether any false negatives
have been introduced by sparse commit 32eb1e2c4fa0 ("Allow both regular
casts and forced casts for restricted values").

This makes me wonder whether I should switch from the official sparse
tree (git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git) to
your tree?

Thanks,

Bart.