On Sat, Sep 30, 2017 at 04:25:12PM +0800, Hangbin Liu wrote:
> @@ -39,12 +39,13 @@ int rtnl_link_query(int fd, char *device);
>  
>  /**
>   * Read kernel messages looking for a link up/down events.
> - * @param fd   Readable socket obtained via rtnl_open().
> - * @param cb   Callback function to be invoked on each event.
> - * @param ctx  Private context passed to the callback.
> - * @return     Zero on success, non-zero otherwise.
> + * @param fd     Readable socket obtained via rtnl_open().
> + * @param device The device which we need to get link info.
> + * @param cb     Callback function to be invoked on each event.
> + * @param ctx    Private context passed to the callback.
> + * @return       A slave index, or -1 on error.

The documentation of the return value is incorrect.

Thanks,
Richard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to