[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250221131910.5ddac0f3@batman.local.home>
Date: Fri, 21 Feb 2025 13:19:10 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Martin Uecker <uecker@...raz.at>, Dan Carpenter
<dan.carpenter@...aro.org>, Greg KH <gregkh@...uxfoundation.org>, Boqun
Feng <boqun.feng@...il.com>, "H. Peter Anvin" <hpa@...or.com>, Miguel Ojeda
<miguel.ojeda.sandonis@...il.com>, Christoph Hellwig <hch@...radead.org>,
rust-for-linux <rust-for-linux@...r.kernel.org>, David Airlie
<airlied@...il.com>, linux-kernel@...r.kernel.org, ksummit@...ts.linux.dev
Subject: Re: Rust kernel policy
On Fri, 21 Feb 2025 10:07:42 -0800
Linus Torvalds <torvalds@...ux-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
Powered by blists - more mailing lists