[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CY4PR07MB3176CC19B6C6403EA73D6BF4F0DC0@CY4PR07MB3176.namprd07.prod.outlook.com>
Date: Tue, 27 Jun 2017 17:06:00 +0000
From: "Kershner, David A" <David.Kershner@...sys.com>
To: Arvind Yadav <arvind.yadav.cs@...il.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"Sell, Timothy C" <Timothy.Sell@...sys.com>,
"Wadgaonkar, Sameer Laxmikant" <Sameer.Wadgaonkar@...sys.com>,
"jon.frisch@...sys.com" <jon.frisch@...sys.com>
CC: "devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
*S-Par-Maintainer <SParMaintainer@...sys.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] staging: unisys: visorbus: constify
visorchipset_parahotplug_group
> -----Original Message-----
> From: devel [mailto:driverdev-devel-bounces@...uxdriverproject.org] On
> Behalf Of Arvind Yadav
> Sent: Friday, June 23, 2017 2:31 AM
> To: gregkh@...uxfoundation.org; Sell, Timothy C
> <Timothy.Sell@...sys.com>; Wadgaonkar, Sameer Laxmikant
> <Sameer.Wadgaonkar@...sys.com>; jon.frisch@...sys.com
> Cc: devel@...verdev.osuosl.org; *S-Par-Maintainer
> <SParMaintainer@...sys.com>; linux-kernel@...r.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@...il.com>
Acked-by: David Kershner <david.kershner@...sys.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@...uxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Powered by blists - more mailing lists