Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1673292 > unrolled thread
| Started by | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| First post | 2017-06-23 08:40 +0200 |
| Last post | 2017-06-27 19:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-06-23 08:40 +0200
RE: [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group "Kershner, David A" <David.Kershner@unisys.com> - 2017-06-27 19:10 +0200
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Date | 2017-06-23 08:40 +0200 |
| Subject | [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group |
| Message-ID | <tVqq6-75j-5@gated-at.bofh.it> |
File size before:
text data bss dec hex filename
11058 816 24 11898 2e7a drivers/staging/unisys/visorbus/visorchipset.o
File size After adding 'const':
text data bss dec hex filename
11122 752 24 11898 2e7a drivers/staging/unisys/visorbus/visorchipset.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
---
drivers/staging/unisys/visorbus/visorchipset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 4cfd0fa..5a499fa 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -1151,7 +1151,7 @@ static ssize_t deviceenabled_store(struct device *dev,
NULL
};
-static struct attribute_group visorchipset_parahotplug_group = {
+static const struct attribute_group visorchipset_parahotplug_group = {
.name = "parahotplug",
.attrs = visorchipset_parahotplug_attrs
};
--
1.9.1
[toc] | [next] | [standalone]
| From | "Kershner, David A" <David.Kershner@unisys.com> |
|---|---|
| Date | 2017-06-27 19:10 +0200 |
| Subject | RE: [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group |
| Message-ID | <tX29Y-3yC-29@gated-at.bofh.it> |
| In reply to | #1673292 |
> -----Original Message-----
> From: devel [mailto:driverdev-devel-bounces@linuxdriverproject.org] On
> Behalf Of Arvind Yadav
> Sent: Friday, June 23, 2017 2:31 AM
> To: gregkh@linuxfoundation.org; Sell, Timothy C
> <Timothy.Sell@unisys.com>; Wadgaonkar, Sameer Laxmikant
> <Sameer.Wadgaonkar@unisys.com>; jon.frisch@unisys.com
> Cc: devel@driverdev.osuosl.org; *S-Par-Maintainer
> <SParMaintainer@unisys.com>; linux-kernel@vger.kernel.org
> Subject: [PATCH] staging: unisys: visorbus: constify
> visorchipset_parahotplug_group
>
> File size before:
> text data bss dec hex filename
> 11058 816 24 11898 2e7a
> drivers/staging/unisys/visorbus/visorchipset.o
>
> File size After adding 'const':
> text data bss dec hex filename
> 11122 752 24 11898 2e7a
> drivers/staging/unisys/visorbus/visorchipset.o
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: David Kershner <david.kershner@unisys.com>
> ---
> drivers/staging/unisys/visorbus/visorchipset.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/unisys/visorbus/visorchipset.c
> b/drivers/staging/unisys/visorbus/visorchipset.c
> index 4cfd0fa..5a499fa 100644
> --- a/drivers/staging/unisys/visorbus/visorchipset.c
> +++ b/drivers/staging/unisys/visorbus/visorchipset.c
> @@ -1151,7 +1151,7 @@ static ssize_t deviceenabled_store(struct device
> *dev,
> NULL
> };
>
> -static struct attribute_group visorchipset_parahotplug_group = {
> +static const struct attribute_group visorchipset_parahotplug_group = {
> .name = "parahotplug",
> .attrs = visorchipset_parahotplug_attrs
> };
> --
> 1.9.1
>
> _______________________________________________
> devel mailing list
> devel@linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web