Re: [PATCH] locking/qspinlock: Fix build for anonymous union in older gcc compilers

2018-06-22 Thread Will Deacon
Hi Steve, On Thu, Jun 21, 2018 at 08:35:26PM -0400, Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > One of my tests compiles the kernel with gcc 4.5.3, and I hit the > following build error: > > /work/git/linux-trace.git/include/linux/semaphore.h: In function 'sema_init': >

Re: [PATCH] locking/qspinlock: Fix build for anonymous union in older gcc compilers

2018-06-22 Thread Will Deacon
Hi Steve, On Thu, Jun 21, 2018 at 08:35:26PM -0400, Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > One of my tests compiles the kernel with gcc 4.5.3, and I hit the > following build error: > > /work/git/linux-trace.git/include/linux/semaphore.h: In function 'sema_init': >

Re: [PATCH] locking/qspinlock: Fix build for anonymous union in older gcc compilers

2018-06-21 Thread Waiman Long
On 06/22/2018 08:35 AM, Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > One of my tests compiles the kernel with gcc 4.5.3, and I hit the > following build error: > > /work/git/linux-trace.git/include/linux/semaphore.h: In function 'sema_init': >

Re: [PATCH] locking/qspinlock: Fix build for anonymous union in older gcc compilers

2018-06-21 Thread Waiman Long
On 06/22/2018 08:35 AM, Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > One of my tests compiles the kernel with gcc 4.5.3, and I hit the > following build error: > > /work/git/linux-trace.git/include/linux/semaphore.h: In function 'sema_init': >

[PATCH] locking/qspinlock: Fix build for anonymous union in older gcc compilers

2018-06-21 Thread Steven Rostedt
From: Steven Rostedt (VMware) One of my tests compiles the kernel with gcc 4.5.3, and I hit the following build error: /work/git/linux-trace.git/include/linux/semaphore.h: In function 'sema_init': /work/git/linux-trace.git/include/linux/semaphore.h:35:17: error: unknown field 'val' specified

[PATCH] locking/qspinlock: Fix build for anonymous union in older gcc compilers

2018-06-21 Thread Steven Rostedt
From: Steven Rostedt (VMware) One of my tests compiles the kernel with gcc 4.5.3, and I hit the following build error: /work/git/linux-trace.git/include/linux/semaphore.h: In function 'sema_init': /work/git/linux-trace.git/include/linux/semaphore.h:35:17: error: unknown field 'val' specified