Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1298841
| From | Boqun Feng <boqun.feng@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC v2 0/3] sparse: Introduce __private to privatize members of structs |
| Date | 2015-12-29 05:20 +0100 |
| Message-ID | <qKTVo-3Lv-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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 make maintenace a little easier and prevent some potential bugs. This patchset consists of three patches: 1. Introduce __private and related macro, also improve compiler.h a litte bit 2. Privatize rcu_node::lock 3. Privatize irq_common_data::state_use_accessors This patchset is against -rcu/rcu/next c95a158356397844a5a6deb0bd58758084f891df because it depends on commits: "rcu: Create transitive rnp->lock acquisition functions" and "rcu: Add transitivity to remaining rcu_node ->lock acquisitions Tested by 0day. Looking forward to any suggestion, question and comment ;-) Regards, Boqun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[RFC v2 0/3] sparse: Introduce __private to privatize members of structs Boqun Feng <boqun.feng@gmail.com> - 2015-12-29 05:20 +0100
[RFC v2 3/3] irq: Privatize irq_common_data::state_use_accessors Boqun Feng <boqun.feng@gmail.com> - 2015-12-29 05:30 +0100
Re: [RFC v2 3/3] irq: Privatize irq_common_data::state_use_accessors Thomas Gleixner <tglx@linutronix.de> - 2015-12-29 10:50 +0100
csiph-web