On Thu, Jan 28, 2016 at 11:14:47AM +0000, Remy Horton wrote: > On 27/01/2016 16:24, Ferruh Yigit wrote: > > > + default: > > + ret = -95 /* EOPNOTSUPP */; > > + break; > > Is this intentional? -EOPNOTSUPP is -122 (-95 is -ENOTSOCK).. > Return value is not significant, callee just checks for negative value, I can remove comment to prevent confusion.
Thanks, ferruh