Michael Haggerty <mhagger@xxxxxxxxxxxx> 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 <mhagger@xxxxxxxxxxxx> > --- 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html