[Linuxptp-devel] [PATCH RFC v1 7/9] config: introduce a new API for reading configuration settings.

2015-08-10 Thread Richard Cochran
This patch adds method to initialize a configuration and look up values. All port options are also global option, with the global option giving the default value. The port look up method first checks for a port specific value, falling back to the global default when missing. Users are required to

Re: [Linuxptp-devel] [PATCH RFC v1 7/9] config: introduce a new API for reading configuration settings.

2015-08-11 Thread Keller, Jacob E
On Mon, 2015-08-10 at 23:12 +0200, Richard Cochran wrote: > This patch adds method to initialize a configuration and look up > values. > All port options are also global option, with the global option > giving the > default value. The port look up method first checks for a port > specific > val

Re: [Linuxptp-devel] [PATCH RFC v1 7/9] config: introduce a new API for reading configuration settings.

2015-08-11 Thread Richard Cochran
On Tue, Aug 11, 2015 at 05:16:10PM +, Keller, Jacob E wrote: > Is there a reason to not drop these extra parens? I don't recall if we > keep them for style reason in this codebase or not. (too used to kernel > style to drop unnecessary ones) The reason is given in CODING_STYLE.org. Thanks, Ri