Re: [PATCH weston 0/4] Extract common macros to single header.

2015-06-15 Thread Bryce Harrington
On Mon, Jun 15, 2015 at 01:48:27PM -0700, Bryce Harrington wrote: > On Mon, Jun 15, 2015 at 10:57:31AM +1000, Peter Hutterer wrote: > > On Fri, Jun 12, 2015 at 09:25:01PM -0700, Jon A. Cruz wrote: > > > As a follow-up to review feedback from Peter Hutterer this > > > set moves a few duplicated macr

[PATCH weston 0/4] Extract common macros to single header.

2015-06-15 Thread Jon A. Cruz
As a follow-up to review feedback from Peter Hutterer this set moves a few duplicated macros into a common header, including ARRAY_LENGTH. Changes since v1: - Added example to container_of() doc comment. Jon A. Cruz (4): Remove redundant #include path component. Moved helper macro to a discre

Re: [PATCH weston 0/4] Extract common macros to single header.

2015-06-15 Thread Bryce Harrington
On Mon, Jun 15, 2015 at 10:57:31AM +1000, Peter Hutterer wrote: > On Fri, Jun 12, 2015 at 09:25:01PM -0700, Jon A. Cruz wrote: > > As a follow-up to review feedback from Peter Hutterer this > > set moves a few duplicated macros into a common header, > > including ARRAY_LENGTH. > > > > Jon A. Cruz

Re: [PATCH weston 0/4] Extract common macros to single header.

2015-06-14 Thread Peter Hutterer
On Fri, Jun 12, 2015 at 09:25:01PM -0700, Jon A. Cruz wrote: > As a follow-up to review feedback from Peter Hutterer this > set moves a few duplicated macros into a common header, > including ARRAY_LENGTH. > > Jon A. Cruz (4): > Remove redundant #include path component. > Moved helper macro to

[PATCH weston 0/4] Extract common macros to single header.

2015-06-12 Thread Jon A. Cruz
As a follow-up to review feedback from Peter Hutterer this set moves a few duplicated macros into a common header, including ARRAY_LENGTH. Jon A. Cruz (4): Remove redundant #include path component. Moved helper macro to a discrete include file. Moved the MIN() macro to the helper include.