On Wed, Jun 01, 2022 at 02:44:14PM +0000, Kubalewski, Arkadiusz wrote:
> > Maybe the create and init function could be merged to make the
> > error handling easier?
> 
> Well, init is already long function, I would rather leave it separated,
> Isn't it enough to zero-memory here?

Maybe. I didn't try to consider all possibilities where it can fail
and in what state the structure will be left.

-- 
Miroslav Lichvar



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

Reply via email to