Michael Haggerty <mhag...@alum.mit.edu> writes:

> Instead of just returning a success/failure bit, return an enumeration
> value that explains the reason for any failure.  This will come in
> handy shortly.
> Signed-off-by: Michael Haggerty <mhag...@alum.mit.edu>
> ---

This is a valid rewrite because all existing callers check if the
return value is 0 and does not check the error code against -1.

Looking good so far.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to