Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1693390
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/3] Constify lustre attribute_group structures. |
| Date | Fri, 21 Jul 2017 07:50:01 +0200 |
| Message-ID | <u5yZ3-LP-1@gated-at.bofh.it> (permalink) |
| X-Original-To | oleg.drokin@intel.com, andreas.dilger@intel.com, jsimmons@infradead.org, gregkh@linuxfoundation.org, di.wang@intel.com |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+vvJtDCtVm2M4VTUJp1OVlUc+I2n1O4hCtyKFeAJOK4=; b=hgRXAYZ32PgNiChOHPHHV1+aqExF/D3lpwZJaI/ALbmZEVxw9DGdu7BwePwWbpsPMX hk/edywXV31wzTyIY5ERsXLMIKbIdKDz8oo7DP/Fy4kI+6JGKpBS5Y8cwwLZzfzbcGqK ZOD3E9GsgI/WSGZt3ZoOG229BDo48aRYiTtTax02BQvU4Ps2oxQRFjQTYPUBK+XTdFol E6hxGJUArw47ZfklSYl6m2OpSHQJY9723Evh3R7IL0JdAiGcfAfvlHCfHweMiAsRoR1/ OFduRizN6hGBbUSwH4wkaFg5BGyAc45rKkJ78lZKreWUJn4sexvv14wR0bQbF1KYrXfa 42Kg== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+vvJtDCtVm2M4VTUJp1OVlUc+I2n1O4hCtyKFeAJOK4=; b=CqX+phi9fLtjSuHeMEOHmZm3foWG3Bk40D9slD3P+6Pj71y8aY89U0vDkzPQfNZ0UT h2z18nxs8IJcFKbDcuuvuX2ixctyB2rNiBX+QZZ2jtYlKWrCn93I+bNDoa3pMGF4RloE yrybR+AyIKeAcVwn7FuTb7A+wPWfl5bk2d3yggHP4nJESNmmqCRE4lQJw86SNr3WapS6 oJqPS9EHTEWi6giT2on+V9fFEhKnuQtptnF3pia7qbklgqX1oK9vGez7ZrQ4QpRqPveB 4KhirDFDQXdEBngXCVG/nJejQnW8J/6P3ZliXm5T1wjLYJGM/Iq9jjo/lXsVq1QftERC Z61A== |
| X-Gm-Message-State | AIVw113O3dAFTws4p5PV9Way5TxGRagskqluLvL1QRb4keJIFIM3z46i O5pXjjRcjwHMu+CJkR4= |
| X-Received | by 10.98.102.85 with SMTP id a82mr6399833pfc.82.1500615740761; Thu, 20 Jul 2017 22:42:20 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 22 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Fri, 21 Jul 2017 11:11:35 +0530 |
| X-Original-Message-ID | <1500615698-21001-1-git-send-email-arvind.yadav.cs@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1693390 |
Show key headers only | View raw
ttribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by <linux/sysfs.h> work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (3): [PATCH v2 1/3] staging: lustre: constify attribute_group structures. [PATCH v2 2/3] staging: lustre: ldlm: constify attribute_group structures. [PATCH v2 3/3] staging: lustre: obdclass: linux: constify attribute_group structures. drivers/staging/lustre/lustre/include/lprocfs_status.h | 4 ++-- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 2 +- drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 2 +- drivers/staging/lustre/lustre/lov/lproc_lov.c | 2 +- drivers/staging/lustre/lustre/mdc/lproc_mdc.c | 2 +- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 2 +- drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c | 2 +- drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 2 +- drivers/staging/lustre/lustre/osc/lproc_osc.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) -- 1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] Constify lustre attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-07-21 07:50 +0200 [PATCH v2 2/3] staging: lustre: ldlm: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-07-21 07:50 +0200 [PATCH v2 1/3] staging: lustre: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-07-21 07:50 +0200 [PATCH v2 3/3] staging: lustre: obdclass: linux: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-07-21 07:50 +0200
csiph-web