On 15 May 2014 13:57, Viresh Kumar <[email protected]> wrote: > On 15 May 2014 13:55, Chander Kashyap <[email protected]> wrote: >> Then in that case the caller must take care for two type of errors: >> -EEXIST and -ENOMEM > > Actually, success: (0 or -EEXIST), failure: Anything else.
Yes exactly. All users of this API need to be modified to handle EEXIST as success. To avoid this returning 0 was suggested, -- with warm regards, Chander Kashyap -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

