Re: [PATCH (resend)] Input: MT - limit max slots

From: Linus Torvalds
Date: Mon Jul 29 2024 - 13:44:33 EST


On Mon, 29 Jul 2024 at 08:57, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote:
>
> iThe other types of warnings, such as the warning in the memory
> allocation case, are warnings of convenience.

No.

They are WARNINGS OF BUGS.

They are basically warning that the code seems to allow arbitrary
allocation sizes.

So apparently you've been sitting on this problem for two years
because you didn't understand that you had a bug, and thought the
warning was some "convenience thing".

I'll just apply it directly. Don't do this again.

Linus