Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1691055
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/8] constify s390 attribute_group structures |
| Date | 2017-07-19 09:20 +0200 |
| Message-ID | <u4Rr3-5eb-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by <linux/sysfs.h> work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (9): s390: zcrypt_queue: constify attribute_group structures. s390: zcrypt_card: constify attribute_group structures. s390: dasd_devmap: constify attribute_group structures. s390: device: constify attribute_group structures. s390: qeth: constify attribute_group structures. s390: raw3270: constify attribute_group structures. s390: tape_core: constify attribute_group structures. s390: sclp_ocf: constify attribute_group structures. drivers/s390/block/dasd_devmap.c | 2 +- drivers/s390/char/raw3270.c | 2 +- drivers/s390/char/sclp_ocf.c | 2 +- drivers/s390/char/tape_core.c | 2 +- drivers/s390/cio/device.c | 4 ++-- drivers/s390/crypto/zcrypt_card.c | 2 +- drivers/s390/crypto/zcrypt_queue.c | 2 +- drivers/s390/net/qeth_l3_sys.c | 8 ++++---- 8 files changed, 12 insertions(+), 12 deletions(-) -- 1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/8] constify s390 attribute_group structures Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-07-19 09:20 +0200 [PATCH 4/8] s390: device: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-07-19 09:20 +0200 Re: [PATCH 0/8] constify s390 attribute_group structures Martin Schwidefsky <schwidefsky@de.ibm.com> - 2017-07-19 11:00 +0200
csiph-web