On Wed, Feb 18, 2015 at 09:35:07AM +0100, Markus Armbruster wrote: > Liu Yuan <namei.u...@gmail.com> writes: > > > From: Liu Yuan <liuy...@cmss.chinamobile.com> > > > > These functions mix up -1 and -errno in return values and would might cause > > trouble error handling in the call chain. > > > > This patch let them return -errno and add some comments. > > > > Reported-by: Markus Armbruster <arm...@redhat.com> > > Signed-off-by: Liu Yuan <liuy...@cmss.chinamobile.com> > > Did you review all functions returning negative errno, or just the two > that caught my eye?
Umm, mostly the two you mentioned. Yuan