Re: [Linuxptp-devel] [PATCH v3 07/11] synce4l: add synce_port interface
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2022-06-01 15:26:51
|
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 |