Re: [PATCH v7 1/6] selftests/mm: make file helpers return errors

From: Mark Brown

Date: Mon Aug 24 2026 - 08:35:53 EST


On Mon, Aug 24, 2026 at 02:17:03PM +0200, David Hildenbrand (Arm) wrote:
> On 8/13/26 20:12, Sarthak Sharma wrote:

> > + if (buf[0] < '0' || buf[0] > '9')
> > + return -EINVAL;

> This is to reject any negative or hexadecimal numbers I assume?

That won't reject hexidecimal - 0xNNNN matches the above.

Attachment: signature.asc
Description: PGP signature