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

2015-12-11 Thread Boqun Feng
Hi all, As I proposed: http://marc.info/?l=linux-arm-kernel=144944469805753 , we can define a __private modifier for sparse to detect misuses of private members of structs. This could make maintenace a little easier and prevent some potential bugs. This patchset serves as a POC and consists of

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

2015-12-11 Thread Boqun Feng
Hi all, As I proposed: http://marc.info/?l=linux-arm-kernel=144944469805753 , we can define a __private modifier for sparse to detect misuses of private members of structs. This could make maintenace a little easier and prevent some potential bugs. This patchset serves as a POC and consists of