Re: [RFC v2 0/3] sparse: Introduce __private to privatize members of structs

2016-01-04 Thread Paul E. McKenney
On Tue, Dec 29, 2015 at 12:18:45PM +0800, Boqun Feng wrote: > Hi all, > > This is v2 of __private. > > Link for v1: http://marc.info/?l=linux-sparse&m=144988906932520&w=2 > > Change since v1: > > * #undef __irqd_to_state after used (Peter Zijlstra) > > > This patchset introduces a __priva

[RFC v2 0/3] sparse: Introduce __private to privatize members of structs

2015-12-28 Thread Boqun Feng
Hi all, This is v2 of __private. Link for v1: http://marc.info/?l=linux-sparse&m=144988906932520&w=2 Change since v1: * #undef __irqd_to_state after used (Peter Zijlstra) This patchset introduces a __private modifier for sparse to detect misuses of private members of structs. This could