Re: Rust kernel policy

Steven Rostedt
2025-02-21T18:19:12Z

On Fri, 21 Feb 2025 10:07:42 -0800
Linus Torvalds <torvalds@linux-foundation.org> wrote:

> if (x < 0 || x >= 10) {
>
> just because 'x' may in some cases be an unsigned entity is not worth
> even discussing with.
>
> Educate yourself. The "unsigned smaller than 0" warning is not valid.

Bah, you're right. I wasn't looking at the x >= 10 part, and just fixed
a bug in user space that was caused by an unsigend < 0, and my mind was
on that.

Sorry for the noise here.

-- Steve