On Tue, Dec 13, 2011 at 10:57 AM, Kevin Wolf <kwolf@xxxxxxxxxx> wrote: >> So the ENOSPEC should be specially dealt with. >> >> Does this make sense? :) > > I'm not saying that your code won't work today, just that it's brittle. > If someone adds a different error return code somewhere and doesn't > check if all callers properly deal with error codes, it will break. Indeed. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html