[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <loom.20150510T175012-351@post.gmane.org>
Date: Sun, 10 May 2015 15:52:54 +0000 (UTC)
From: Noel Grandin <noelgrandin@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 02/12] Add parse_integer() (replacement for simple_strto*())
> int parse_integer(const char *s, unsigned int base, T *val);
>
I suspect splitting this into
parse_signed_int
and
parse_unsigned_int
(or some other equivalent names)
will make the call-sites a lot easier to read.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists