* [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group
@ 2017-06-23 6:31 Arvind Yadav
2017-06-27 17:06 ` Kershner, David A
0 siblings, 1 reply; 2+ messages in thread
From: Arvind Yadav @ 2017-06-23 6:31 UTC (permalink / raw)
To: gregkh, Timothy.Sell, sameer.wadgaonkar, jon.frisch
Cc: sparmaintainer, devel, linux-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group
2017-06-23 6:31 [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group Arvind Yadav
@ 2017-06-27 17:06 ` Kershner, David A
0 siblings, 0 replies; 2+ messages in thread
From: Kershner, David A @ 2017-06-27 17:06 UTC (permalink / raw)
To: Arvind Yadav, gregkh, Sell, Timothy C, Wadgaonkar,
Sameer Laxmikant, jon.frisch
Cc: devel, *S-Par-Maintainer, linux-kernel
> -----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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-27 17:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-23 6:31 [PATCH] staging: unisys: visorbus: constify visorchipset_parahotplug_group Arvind Yadav
2017-06-27 17:06 ` Kershner, David A
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).