Re: [PATCH] jump_label: Fix anonymous union initialization

2017-03-02 Thread Boris Ostrovsky
On 03/02/2017 04:42 PM, Steven Rostedt wrote: > On Thu, 2 Mar 2017 16:07:19 -0500 > Jason Baron wrote: > >> On 02/28/2017 11:32 AM, Boris Ostrovsky wrote: >>> Pre-4.6 gcc do not allow direct static initialization of members of >>> anonymous structs/unions. After commit 3821fd35b58d ("jump_label: >

Re: [PATCH] jump_label: Fix anonymous union initialization

2017-03-02 Thread Steven Rostedt
On Thu, 2 Mar 2017 16:07:19 -0500 Jason Baron wrote: > On 02/28/2017 11:32 AM, Boris Ostrovsky wrote: > > Pre-4.6 gcc do not allow direct static initialization of members of > > anonymous structs/unions. After commit 3821fd35b58d ("jump_label: > > Reduce the size of struct static_key") STATIC_KEY

Re: [PATCH] jump_label: Fix anonymous union initialization

2017-03-02 Thread Chris Mason
On 03/02/2017 04:42 PM, Steven Rostedt wrote: On Thu, 2 Mar 2017 16:07:19 -0500 Jason Baron wrote: On 02/28/2017 11:32 AM, Boris Ostrovsky wrote: Pre-4.6 gcc do not allow direct static initialization of members of anonymous structs/unions. After commit 3821fd35b58d ("jump_label: Reduce the si

Re: [PATCH] jump_label: Fix anonymous union initialization

2017-03-02 Thread Jason Baron
On 02/28/2017 11:32 AM, Boris Ostrovsky wrote: Pre-4.6 gcc do not allow direct static initialization of members of anonymous structs/unions. After commit 3821fd35b58d ("jump_label: Reduce the size of struct static_key") STATIC_KEY_INIT_{TRUE|FALSE} definitions cannot be compiled with those older

[PATCH] jump_label: Fix anonymous union initialization

2017-02-28 Thread Boris Ostrovsky
Pre-4.6 gcc do not allow direct static initialization of members of anonymous structs/unions. After commit 3821fd35b58d ("jump_label: Reduce the size of struct static_key") STATIC_KEY_INIT_{TRUE|FALSE} definitions cannot be compiled with those older compilers. Placing initializers inside curved br