[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aW-VOtHVHh-2RLHd@smile.fi.intel.com>
Date: Tue, 20 Jan 2026 16:46:18 +0200
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Dmitry Antipov <dmantipov@...dex.ru>
Cc: Andrew Morton <akpm@...ux-foundation.org>, Kees Cook <kees@...nel.org>,
Carlos Maiolino <cem@...nel.org>,
Christoph Hellwig <hch@...radead.org>, linux-xfs@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH v4 1/3] lib: introduce simple error-checking wrapper for
memparse()
On Tue, Jan 20, 2026 at 04:45:39PM +0200, Andy Shevchenko wrote:
> On Tue, Jan 20, 2026 at 05:12:27PM +0300, Dmitry Antipov wrote:
> > Introduce 'memvalue()' which uses 'memparse()' to parse a string
> > with optional memory suffix into a non-negative number. If parsing
> > has succeeded, returns 0 and stores the result at the location
> > specified by the second argument. Otherwise returns -EINVAL and
> > leaves the location untouched.
Also this misses the cover letter to explain the motivation, changelog, etc.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists