Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1298928
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC v2 3/3] irq: Privatize irq_common_data::state_use_accessors |
| Date | 2015-12-29 10:50 +0100 |
| Message-ID | <qKZ4K-76v-19@gated-at.bofh.it> (permalink) |
| References | <qKTVo-3Lv-5@gated-at.bofh.it> <qKU53-3OR-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 29 Dec 2015, Boqun Feng wrote: > 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. Also #undef the macro > __irqd_to_state after used in header files, so that the macro can't be > misused. > > Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> -- 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 — Previous 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