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

Reply via email to