On Wed, Nov 11, 2020 at 10:35:20AM -0800, Jacob Keller wrote:
> Thoughts on making this an enum instead so that it's even more clear
> from the function signatures that this is not an integer return code?
> The run_pmc function is static so it would only affect callers in this file.

I considered an enum, but that meant churn on all the callers due to
the change in return type of run_pmc().

At the end, I want to have run_pmc return errno codes.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to