Re: [linus:master] [eventfs] 852e46e239: BUG:unable_to_handle_page_fault_for_address

From: Rasmus Villemoes
Date: Tue Jan 30 2024 - 07:45:56 EST


On 30/01/2024 10.12, Linus Torvalds wrote:
> On Tue, 30 Jan 2024 at 00:43, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> I'll go back to bed, but I think the fix is something trivial like this:
>
> Almost.
>
>> + result = ERR_PTR(ENOENT);
>
> That needs a '-' in front of the ENOENT, otherwise you have a positive
> error number and things go wrong very quickly.

OT, but 'git grep' suggests that drivers/soc/apple/mailbox.c might need
exactly that fix... (there's also ext4, but their custom E thing is
already negative).

Rasmus