Re: [PATCH 02/12] Add parse_integer() (replacement for simple_strto*())

From: Noel Grandin
Date: Sun May 10 2015 - 11:55:23 EST


> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/