[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240924201352.GF3550746@ZenIV>
Date: Tue, 24 Sep 2024 21:13:52 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH] mm: refactor mm_access() to not return NULL
On Tue, Sep 24, 2024 at 09:10:23PM +0100, Lorenzo Stoakes wrote:
> + if (IS_ERR(mm))
> + return PTR_ERR(mm) == -ESRCH ? NULL : mm;
Pet peeve: what's wrong with mm == ERR_PTR(-ESRCH)?
Powered by blists - more mailing lists