Re: [RFC 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-14 Thread Boqun Feng
On Mon, Dec 14, 2015 at 04:59:45PM +0100, Thomas Gleixner wrote: > On Mon, 14 Dec 2015, Boqun Feng wrote: > > Probably something like this(untested, only run "make kernel/irq/")? > > > > Subject: [RFC v2 3/3] irq: Privatize irq_common_data::state_use_accessors > > > > According to Peter Zijlstra,

Re: [RFC 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-14 Thread Thomas Gleixner
On Mon, 14 Dec 2015, Boqun Feng wrote: > Probably something like this(untested, only run "make kernel/irq/")? > > Subject: [RFC v2 3/3] irq: Privatize irq_common_data::state_use_accessors > > According to Peter Zijlstra, irq_common_data::state_use_accessors is not > designed for public use. There

Re: [RFC 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-14 Thread Boqun Feng
On Mon, Dec 14, 2015 at 11:03:03AM +0100, Thomas Gleixner wrote: > On Mon, 14 Dec 2015, Peter Zijlstra wrote: > > On Sat, Dec 12, 2015 at 10:56:02AM +0800, Boqun Feng wrote: > > > According to Peter Zijlstra, irq_common_data::state_use_accessors is not > > > designed for public use. Therefore make

Re: [RFC 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-14 Thread Thomas Gleixner
On Mon, 14 Dec 2015, Peter Zijlstra wrote: > On Sat, Dec 12, 2015 at 10:56:02AM +0800, Boqun Feng wrote: > > According to Peter Zijlstra, irq_common_data::state_use_accessors is not > > designed for public use. Therefore make it private so that people who > > write code accessing it directly will g

Re: [RFC 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-14 Thread Peter Zijlstra
On Sat, Dec 12, 2015 at 10:56:02AM +0800, Boqun Feng wrote: > According to Peter Zijlstra, irq_common_data::state_use_accessors is not > designed for public use. Therefore make it private so that people who > write code accessing it directly will get blamed by sparse. > > Signed-off-by: Boqun Feng

[RFC 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-11 Thread Boqun Feng
According to Peter Zijlstra, irq_common_data::state_use_accessors is not designed for public use. Therefore make it private so that people who write code accessing it directly will get blamed by sparse. Signed-off-by: Boqun Feng --- include/linux/irq.h | 4 ++-- 1 file changed, 2 insertions(+),