[PATCH] net: smc91x: constify dev_pm_ops structures.

2017-06-28 Thread Arvind Yadav
/smsc/smc91x.o File size After adding 'const': textdata bss dec hex filename 18901 201 0 191024a9e drivers/net/ethernet/smsc/smc91x.o Signed-off-by: Arvind Yadav --- drivers/net/ethernet/smsc/smc91x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] net: freescale: gianfar : constify dev_pm_ops structures.

2017-06-28 Thread Arvind Yadav
/freescale/gianfar.o File size After adding 'const': textdata bss dec hex filename 19249 192 0 194414bf1 drivers/net/ethernet/freescale/gianfar.o Signed-off-by: Arvind Yadav --- drivers/net/ethernet/freescale/gianfar.c | 2 +- 1 file changed, 1 inser

[PATCH] scsi: ibmvscsi: constify dev_pm_ops structures.

2017-06-29 Thread Arvind Yadav
/ibmvscsi.o File size After adding 'const': textdata bss dec hex filename 181641264 8 194364bec drivers/scsi/ibmvscsi/ibmvscsi.o Signed-off-by: Arvind Yadav --- drivers/scsi/ibmvscsi/ibmvscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] scsi: ibmvfc: constify dev_pm_ops structures.

2017-06-29 Thread Arvind Yadav
/ibmvfc.o File size After adding 'const': textdata bss dec hex filename 421291104 20 43253a8f5 drivers/scsi/ibmvscsi/ibmvfc.o Signed-off-by: Arvind Yadav --- drivers/scsi/ibmvscsi/ibmvfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] mmc: host: omap_hsmmc: constify dev_pm_ops structures.

2017-06-29 Thread Arvind Yadav
/omap_hsmmc.o File size After adding 'const': textdata bss dec hex filename 11778 432 0 122102fb2 drivers/mmc/host/omap_hsmmc.o Signed-off-by: Arvind Yadav --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] media: exynos4-is: fimc-is-i2c: constify dev_pm_ops structures.

2017-06-29 Thread Arvind Yadav
/platform/exynos4-is/fimc-is-i2c.o File size After adding 'const': textdata bss dec hex filename 1403 176 01579 62b drivers/media/platform/exynos4-is/fimc-is-i2c.o Signed-off-by: Arvind Yadav --- drivers/media/platform/exynos4-is/fimc-is-i2c.c | 2

[PATCH] ARM: sa1111 : constify dev_pm_ops structures.

2017-06-29 Thread Arvind Yadav
dev_pm_ops are not supposed to change at runtime. All functions working with dev_pm_ops provided by work with const dev_pm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm/common/sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH] staging: ccree: constify dev_pm_ops structures.

2017-06-29 Thread Arvind Yadav
/ssi_driver.o File size After adding 'const': textdata bss dec hex filename 4010 288 0429810ca drivers/staging/ccree/ssi_driver.o Signed-off-by: Arvind Yadav --- drivers/staging/ccree/ssi_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] ALSA: pcm: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
sound/core/pcm.o File size After adding 'const': textdata bss dec hex filename 9813 176 89997270d sound/core/pcm.o Signed-off-by: Arvind Yadav --- sound/core/pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/core/pcm

[PATCH] ALSA: hda: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
sound/pci/hda/hda_sysfs.o File size After adding 'const': textdata bss dec hex filename 1035 544 01579 62b sound/pci/hda/hda_sysfs.o Signed-off-by: Arvind Yadav --- sound/pci/hda/hda_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] net: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
/core/net-sysfs.o File size After adding 'const': textdata bss dec hex filename 101602976 16 131523360 net/core/net-sysfs.o Signed-off-by: Arvind Yadav --- net/core/net-sysfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] net: bridge: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
/bridge/br_sysfs_br.o File size After adding 'const': textdata bss dec hex filename 2701 832 03533 dcd net/bridge/br_sysfs_br.o Signed-off-by: Arvind Yadav --- net/bridge/br_sysfs_br.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[PATCH] PM: hibernate: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
kernel/power/hibernate.o File size After adding 'const': textdata bss dec hex filename 6396 424 30871281bd8 kernel/power/hibernate.o Signed-off-by: Arvind Yadav --- kernel/power/hibernate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] kernel: ksysfs: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
kernel/ksysfs.o File size After adding 'const': textdata bss dec hex filename 1160 480 161656 678 kernel/ksysfs.o Signed-off-by: Arvind Yadav --- kernel/ksysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/ksysfs.

[PATCH] kernel: cpu: hotplug: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
kernel/cpu.o File size After adding 'const': textdata bss dec hex filename 12710 15265 20 279956d5b kernel/cpu.o Signed-off-by: Arvind Yadav --- kernel/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/cpu.c b/kernel/c

[PATCH] PM / sleep: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
kernel/power/main.o File size After adding 'const': textdata bss dec hex filename 3866 560 324458116a kernel/power/main.o Signed-off-by: Arvind Yadav --- kernel/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/po

[PATCH v2] sony-laptop: constify spic_attribute_group and sony_laptop_input_index.

2017-06-29 Thread Arvind Yadav
drivers/platform/x86/sony-laptop.o File size After adding 'const': textdata bss dec hex filename 313375112 372 368218fd5 drivers/platform/x86/sony-laptop.o Signed-off-by: Arvind Yadav --- Changes in v2: Resolve warning: assignment disca

Re: linux-next: build warning after merge of the drivers-x86 tree

2017-06-29 Thread Arvind Yadav
Hi, I have push one more patch which does not have this warning. please avoid my first patch. Thanks ~ arvind On Friday 30 June 2017 09:30 AM, Stephen Rothwell wrote: Hi Darren, After merging the drivers-x86 tree, today's linux-next build (x86_64 allmodconfig) produced this warning: driv

[PATCH] fs: GFS2: constify attribute_group structures.

2017-06-29 Thread Arvind Yadav
/gfs2/sys.o File size After adding 'const': textdata bss dec hex filename 53711216 8659519c3 fs/gfs2/sys.o Signed-off-by: Arvind Yadav --- fs/gfs2/sys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/gfs2/sys.c b/fs/

[PATCH] ocfs2: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
/ocfs2/stackglue.o File size After adding 'const': textdata bss dec hex filename 44421024 3855041580 fs/ocfs2/stackglue.o Signed-off-by: Arvind Yadav --- fs/ocfs2/stackglue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] fs: 9p: v9fs: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
/9p/v9fs.o File size After adding 'const': textdata bss dec hex filename 2803 32 282863 b2f fs/9p/v9fs.o Signed-off-by: Arvind Yadav --- fs/9p/v9fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/9p/v9fs.c b/fs/9p/v9

[PATCH] eCryptfs: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
/ecryptfs/main.o File size After adding 'const': textdata bss dec hex filename 6186 604 2468141a9e fs/ecryptfs/main.o Signed-off-by: Arvind Yadav --- fs/ecryptfs/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ecryptf

[PATCH] block: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
block/genhd.o File size After adding 'const': textdata bss dec hex filename 11686 8482076 146103912 block/genhd.o Signed-off-by: Arvind Yadav --- block/genhd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/genhd.c b/block/gen

[PATCH] block: Constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
block/partition-generic.o File size After adding 'const': textdata bss dec hex filename 5342 480 0582216be block/partition-generic.o Signed-off-by: Arvind Yadav --- block/partition-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] arm64: cpuinfo: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm64/kernel/cpuinfo.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] ACPI / power: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
drivers/acpi/power.o File size After adding 'const': textdata bss dec hex filename 4846 80 849341346 drivers/acpi/power.o Signed-off-by: Arvind Yadav --- drivers/acpi/power.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) di

[PATCH] acpi: bgrt: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/acpi/bgrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] ACPI / LPSS: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/acpi/acpi_lpss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] ACPI / DPTF: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
drivers/acpi/dptf/dptf_power.o File size After adding 'const': textdata bss dec hex filename 944 432 01376 560 drivers/acpi/dptf/dptf_power.o Signed-off-by: Arvind Yadav --- drivers/acpi/dptf/dptf_power.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] drm: radeon: constify drm_prop_enum_list structures.

2017-07-01 Thread Arvind Yadav
48e4 drivers/gpu/drm/radeon/radeon_display.o File size After adding 'const': textdata bss dec hex filename 18660 0 0 1866048e4 drivers/gpu/drm/radeon/radeon_display.o Signed-off-by: Arvind Yadav --- drivers/gpu/drm/radeon/radeon_disp

[PATCH] drm: armada: constify drm_prop_enum_list structures.

2017-07-01 Thread Arvind Yadav
2885 drivers/gpu/drm/armada/armada_crtc.o File size After adding 'const': textdata bss dec hex filename 9757 616 0 103732885 drivers/gpu/drm/armada/armada_crtc.o Signed-off-by: Arvind Yadav --- drivers/gpu/drm/armada/armada_crtc.c | 4 ++-- 1 file

[PATCH] ARM: imx: constify gpio and pins.

2017-07-09 Thread Arvind Yadav
gpios and pins are not supposed to change at runtime. All functions working with gpios provided by work with const gpio. Pins is working with 'mxc_iomux_setup_multiple_pins( const unsigned int *pin_list, ...)'. So mark the non-const structs as const. Signed-off-by: Arvind Yadav ---

Re: [PATCH] hwtracing: coresight: constify attribute_group structures.

2017-07-09 Thread Arvind Yadav
Hi Mathieu, On Friday 07 July 2017 08:58 PM, Mathieu Poirier wrote: On 4 July 2017 at 23:49, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as

[PATCH] mfd: ab8500-core: constify attribute_group structures.

2017-07-09 Thread Arvind Yadav
drivers/mfd/ab8500-core.o File size After adding 'const': textdata bss dec hex filename 16490 817 184 174914453 drivers/mfd/ab8500-core.o Signed-off-by: Arvind Yadav --- drivers/mfd/ab8500-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion

[PATCH] misc: lis3lv02d: constify attribute_group structures.

2017-07-09 Thread Arvind Yadav
drivers/misc/lis3lv02d/lis3lv02d.o File size After adding 'const': textdata bss dec hex filename 7573 689 082622046 drivers/misc/lis3lv02d/lis3lv02d.o Signed-off-by: Arvind Yadav --- drivers/misc/lis3lv02d/lis3lv02d.c | 2 +- 1 file changed, 1 inser

Re: [PATCH] kernel: cpu: hotplug: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
Hi Sebastian, On Monday 10 July 2017 12:44 PM, Sebastian Andrzej Siewior wrote: On 2017-06-29 17:40:47 [+0530], Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non

[PATCH] net: usb: qmi_wwan: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
drivers/net/usb/qmi_wwan.o File size After adding 'const': textdata bss dec hex filename 16895 400 0 17295438f drivers/net/usb/qmi_wwan.o Signed-off-by: Arvind Yadav --- drivers/net/usb/qmi_wwan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] net: cdc_ncm: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
drivers/net/usb/cdc_ncm.o File size After adding 'const': textdata bss dec hex filename 13339 864 1 14204377c drivers/net/usb/cdc_ncm.o Signed-off-by: Arvind Yadav --- drivers/net/usb/cdc_ncm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] net: can: at91_can: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
drivers/net/can/at91_can.o File size After adding 'const': textdata bss dec hex filename 6228 240 064681944 drivers/net/can/at91_can.o Signed-off-by: Arvind Yadav --- drivers/net/can/at91_can.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] net: can: janz-ican3: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
drivers/net/can/janz-ican3.o File size After adding 'const': textdata bss dec hex filename 11864 304 0 121682f88 drivers/net/can/janz-ican3.o Signed-off-by: Arvind Yadav --- drivers/net/can/janz-ican3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] wireless: ipw2200: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +- 1 file changed, 1

[PATCH] wireless: ipw2100: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 2 +- 1 file changed, 1

[PATCH] wireless: iwlegacy: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/intel/iwlegacy/3945-mac.c | 2 +- 1 file changed, 1

[PATCH] wireless: iwlegacy: Constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/intel/iwlegacy/4965-mac.c | 2 +- 1 file changed, 1

[PATCH] arcnet: com20020-pci: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
drivers/net/arcnet/com20020-pci.o File size After adding 'const': textdata bss dec hex filename 3473 884 2843851121 drivers/net/arcnet/com20020-pci.o Signed-off-by: Arvind Yadav --- drivers/net/arcnet/com20020-pci.c | 2 +- 1 file changed, 1 inser

[PATCH] net: bonding: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
drivers/net/bonding/bond_sysfs.o File size After adding 'const': textdata bss dec hex filename 45761408 059841760 drivers/net/bonding/bond_sysfs.o Signed-off-by: Arvind Yadav --- drivers/net/bonding/bond_sysfs.c | 2 +- 1 file changed, 1 inser

[PATCH] net: chelsio: cxgb3: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
drivers/net/.../cxgb3/cxgb3_main.o File size After adding 'const': textdata bss dec hex filename 28848 857 12 297177415 drivers/net/.../cxgb3/cxgb3_main.o Signed-off-by: Arvind Yadav --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 8 ++-- 1 fi

Re: [PATCH] net: chelsio: cxgb3: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
Hi Joe, On Monday 10 July 2017 10:30 PM, Joe Perches wrote: On Mon, 2017-07-10 at 16:04 +0530, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as

Re: [PATCH] net: chelsio: cxgb3: constify attribute_group structures.

2017-07-10 Thread Arvind Yadav
Hi Joe, On Tuesday 11 July 2017 11:17 AM, Joe Perches wrote: On Tue, 2017-07-11 at 11:11 +0530, Arvind Yadav wrote: Hi Joe, On Monday 10 July 2017 10:30 PM, Joe Perches wrote: On Mon, 2017-07-10 at 16:04 +0530, Arvind Yadav wrote: attribute_groups are not supposed to change at runtime

[PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/net/usb/cdc_ncm.o File size After adding 'const': textdata bss dec hex filename 13339 864 1 14204377c drivers/net/usb/cdc_ncm.o Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/usb/cdc_ncm.c | 2

[PATCH v2 00/10] Constify attribute_group structures

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] net: can: at91_can: constify attribute_group structures. [PATCH v2 03/10] net: can: janz

[PATCH v2 02/10] net: can: at91_can: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/net/can/at91_can.o File size After adding 'const': textdata bss dec hex filename 6228 240 064681944 drivers/net/can/at91_can.o Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/can/at91_can.c | 2

[PATCH v2 03/10] net: can: janz-ican3: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/net/can/janz-ican3.o File size After adding 'const': textdata bss dec hex filename 11864 304 0 121682f88 drivers/net/can/janz-ican3.o Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/can/janz-ican3.c

[PATCH v2 00/10] Constify attribute_group structures

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] net: can: at91_can: constify attribute_group structures. [PATCH v2 03/10] net: can: janz

[PATCH v2 05/10] wireless: ipw2100: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/wireless/intel

[PATCH v2 04/10] wireless: ipw2200: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/wireless/intel

[PATCH v2 00/10] Constify attribute_group structures

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] net: can: at91_can: constify attribute_group structures. [PATCH v2 03/10] net: can: janz

[PATCH v2 00/10] Constify attribute_group structures

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] net: can: at91_can: constify attribute_group structures. [PATCH v2 03/10] net: can: janz

[PATCH v2 07/10] wireless: iwlegacy: Constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/wireless/intel

[PATCH v2 06/10] wireless: iwlegacy: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/wireless/intel

[PATCH v2 00/10] Constify attribute_group structures

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] net: can: at91_can: constify attribute_group structures. [PATCH v2 03/10] net: can: janz

[PATCH v2 08/10] arcnet: com20020-pci: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/net/arcnet/com20020-pci.o File size After adding 'const': textdata bss dec hex filename 3473 884 2843851121 drivers/net/arcnet/com20020-pci.o Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/arcne

[PATCH v2 09/10] net: bonding: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/net/bonding/bond_sysfs.o File size After adding 'const': textdata bss dec hex filename 45761408 059841760 drivers/net/bonding/bond_sysfs.o Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/bonding/bo

[PATCH v2 00/10] Constify attribute_group structures

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] net: can: at91_can: constify attribute_group structures. [PATCH v2 03/10] net: can: janz

[PATCH v2 10/10] net: chelsio: cxgb3: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/net/.../cxgb3/cxgb3_main.o File size After adding 'const': textdata bss dec hex filename 28848 857 12 297177415 drivers/net/.../cxgb3/cxgb3_main.o Signed-off-by: Arvind Yadav --- Changes in v2: Added cover later. drivers/net/ethern

[PATCH v2 00/10] Constify attribute_group structures

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. So mark the non-const structs as const. Arvind Yadav (10): [PATCH v2 01/10] net: cdc_ncm: constify attribute_group structures. [PATCH v2 02/10] net: can: at91_can: constify attribute_group structures. [PATCH v2 03/10] net: can: janz

[PATCH] parisc: pdc_stable: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/parisc/pdc_stable.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/3] PCI: pci-label: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/pci/pci-label.o File size After adding 'const': textdata bss dec hex filename 1058 192 01250 4ca drivers/pci/pci-label.o Signed-off-by: Arvind Yadav --- drivers/pci/pci-label.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di

[PATCH 1/3] PCI: pci-sysfs: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/pci/pci-sysfs.o File size After adding 'const': textdata bss dec hex filename 87361768 4 10508290c drivers/pci/pci-sysfs.o Signed-off-by: Arvind Yadav --- drivers/pci/pci-sysfs.c | 10 +- 1 file changed, 5 insertions(+), 5 deletion

[PATCH 0/3] constify pci attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] PCI: pci-sysfs: constify attribute_group structures. [PATCH 2/3] PCI: pci

[PATCH 0/3] constify pci attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] PCI: pci-sysfs: constify attribute_group structures. [PATCH 2/3] PCI: pci

[PATCH 3/3] PCI: hotplug: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/pci/hotplug/rpadlpar_sysfs.o File size After adding 'const': textdata bss dec hex filename 482 96 8 586 232 drivers/pci/hotplug/rpadlpar_sysfs.o Signed-off-by: Arvind Yadav --- drivers/pci/hotplug/rpadlpar_sysfs.c | 2 +- 1 file changed, 1

[PATCH 2/7] platform/x86: compal-laptop: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/platform/x86/compal-laptop.o File size After adding 'const': textdata bss dec hex filename 68456080 34 12959329f drivers/platform/x86/compal-laptop.o Signed-off-by: Arvind Yadav --- drivers/platform/x86/compal-laptop.c | 2 +- 1 file changed, 1

[PATCH 0/7] Constify platform/x86 attribute_group structures.

2017-07-11 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (7): [PATCH 1/7] platform/x86: fujitsu-laptop: constify attribute_group structures. [PATCH 2/7

[PATCH 6/7] platform/x86: asus-wmi: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/platform/x86/asus-wmi.o File size After adding 'const': textdata bss dec hex filename 13268 712 1 13981368d drivers/platform/x86/asus-wmi.o Signed-off-by: Arvind Yadav --- drivers/platform/x86/asus-wmi.c | 4 ++-- 1 file changed, 2 insert

[PATCH 3/7] platform/x86: samsung-laptop: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/platform/x86/samsung-laptop.o File size After adding 'const': textdata bss dec hex filename 87745388 23 141853769 drivers/platform/x86/samsung-laptop.o Signed-off-by: Arvind Yadav --- drivers/platform/x86/samsung-laptop.c | 2 +- 1 file

[PATCH 4/7] platform/x86: alienware-wmi: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/platform/x86/alienware-wmi.o File size After adding 'const': textdata bss dec hex filename 7060 888 4879961f64 drivers/platform/x86/alienware-wmi.o Signed-off-by: Arvind Yadav --- drivers/platform/x86/alienware-wmi.c | 6 +++--- 1 file

[PATCH 7/7] platform/x86: toshiba_acpi: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/platform/x86/toshiba_acpi.o File size After adding 'const': textdata bss dec hex filename 264241008 24 274566b40 drivers/platform/x86/toshiba_acpi.o Signed-off-by: Arvind Yadav --- drivers/platform/x86/toshiba_acpi.c | 2 +- 1 file changed, 1

[PATCH 5/7] platform/x86: panasonic-laptop: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/platform/x86/panasonic-laptop.o File size After adding 'const': textdata bss dec hex filename 2569 536 43109 c25 drivers/platform/x86/panasonic-laptop.o Signed-off-by: Arvind Yadav --- drivers/platform/x86/panasonic-laptop.c | 2 +- 1 file

[PATCH 1/7] platform/x86: fujitsu-laptop: constify attribute_group structures.

2017-07-11 Thread Arvind Yadav
drivers/platform/x86/fujitsu-laptop.o File size After adding 'const': textdata bss dec hex filename 75381141 24870321ff drivers/platform/x86/fujitsu-laptop.o Signed-off-by: Arvind Yadav --- drivers/platform/x86/fujitsu-laptop.c | 2 +- 1 file

[PATCH] power: supply: constify attribute_group structures.

2017-07-12 Thread Arvind Yadav
power/supply/pcf50633-charger.o File size After adding 'const': textdata bss dec hex filename 2737 336 03073 bed power/supply/pcf50633-charger.o Signed-off-by: Arvind Yadav --- drivers/power/supply/pcf50633-charger.c | 2 +- 1 file changed, 1 inser

[PATCH] rtc: m41t80: constify attribute_group structures.

2017-07-12 Thread Arvind Yadav
drivers/rtc/rtc-m41t80.o File size After adding 'const': textdata bss dec hex filename 4226 480 047061262 drivers/rtc/rtc-m41t80.o Signed-off-by: Arvind Yadav --- drivers/rtc/rtc-m41t80.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] hwmon: constify attribute_group structures.

2017-07-04 Thread Arvind Yadav
drivers/hwmon/hwmon.o File size After adding 'const': textdata bss dec hex filename 6703 240 069431b1f drivers/hwmon/hwmon.o Signed-off-by: Arvind Yadav --- drivers/hwmon/hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri

[PATCH] hwmon: nct7802: constify attribute_group structures.

2017-07-04 Thread Arvind Yadav
drivers/hwmon/hwmon.o File size After adding 'const': textdata bss dec hex filename 6703 240 069431b1f drivers/hwmon/hwmon.o Signed-off-by: Arvind Yadav --- drivers/hwmon/nct7802.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) di

[PATCH v2] hwmon: nct7802: constify attribute_group structures.

2017-07-04 Thread Arvind Yadav
drivers/hwmon/nct7802.o File size After adding 'const': textdata bss dec hex filename 64659080 0 155453cb9 drivers/hwmon/nct7802.o Signed-off-by: Arvind Yadav --- Changes in v1: Subject was not correct. Now comparing size of nct7802.c

[PATCH] hwmon: adc128d818: constify attribute_group structures.

2017-07-04 Thread Arvind Yadav
drivers/hwmon/adc128d818.o File size After adding 'const': textdata bss dec hex filename 23442872 052161460 drivers/hwmon/adc128d818.o Signed-off-by: Arvind Yadav --- drivers/hwmon/adc128d818.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] hwmon: adt7475: constify attribute_group structures.

2017-07-04 Thread Arvind Yadav
drivers/hwmon/adt7475.o File size After adding 'const': textdata bss dec hex filename 105676520 0 1708742bf drivers/hwmon/adt7475.o Signed-off-by: Arvind Yadav --- drivers/hwmon/adt7475.c | 16 1 file changed, 8 insertions(+), 8

[PATCH] hwtracing: coresight: constify attribute_group structures.

2017-07-04 Thread Arvind Yadav
coresight-etm-perf.o File size After adding 'const': textdata bss dec hex filename 2613 224 2963133 c3d coresight-etm-perf.o Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-etm-perf.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] input: serio: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/serio/serio.o File size After adding 'const': textdata bss dec hex filename 6990 880 478741ec2 drivers/input/serio/serio.o Signed-off-by: Arvind Yadav --- drivers/input/serio/serio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH] input: aiptek: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/tablet/aiptek.o File size After adding 'const': textdata bss dec hex filename 100051496 0 115012ced drivers/input/tablet/aiptek.o Signed-off-by: Arvind Yadav --- drivers/input/tablet/aiptek.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] input: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/input.o File size After adding 'const': textdata bss dec hex filename 179471120 16 190834a8b drivers/input/input.o Signed-off-by: Arvind Yadav --- drivers/input/input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] input: synaptics-rmi4: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/rmi4/rmi_f34.o File size After adding 'const': textdata bss dec hex filename 5339 384 05723165b drivers/input/rmi4/rmi_f34.o Signed-off-by: Arvind Yadav --- drivers/input/rmi4/rmi_f34.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] input: synaptics-rmi4: Constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/rmi4/rmi_f01.o File size After adding 'const': textdata bss dec hex filename 4817 416 052331471 drivers/input/rmi4/rmi_f01.o Signed-off-by: Arvind Yadav --- drivers/input/rmi4/rmi_f01.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] input: ims-pcu: Constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/misc/ims-pcu.o File size After adding 'const': textdata bss dec hex filename 136751472 0 151473b2b drivers/input/misc/ims-pcu.o Signed-off-by: Arvind Yadav --- drivers/input/misc/ims-pcu.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] input: yealink: Constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/misc/yealink.o File size After adding 'const': textdata bss dec hex filename 6103 880 069831b47 drivers/input/misc/yealink.o Signed-off-by: Arvind Yadav --- drivers/input/misc/yealink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] input: keyboard: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/keyboard/gpio_keys.o File size After adding 'const': textdata bss dec hex filename 5749 400 061491805 drivers/input/keyboard/gpio_keys.o Signed-off-by: Arvind Yadav --- drivers/input/keyboard/gpio_keys.c | 2 +- 1 file changed, 1 inser

[PATCH] input: elantech: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/mouse/elantech.o File size After adding 'const': textdata bss dec hex filename 168791360 0 18239473f drivers/input/mouse/elantech.o Signed-off-by: Arvind Yadav --- drivers/input/mouse/elantech.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] input: psmouse: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/mouse/psmouse-base.o File size After adding 'const': textdata bss dec hex filename 12914 676 12 136023522 drivers/input/mouse/psmouse-base.o Signed-off-by: Arvind Yadav --- drivers/input/mouse/psmouse-base.c | 2 +- 1 file changed, 1 inser

[PATCH] input: raydium_i2c_ts: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/touchscreen/raydium_i2c_ts.o File size After adding 'const': textdata bss dec hex filename 7849 496 083452099 drivers/input/touchscreen/raydium_i2c_ts.o Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/raydium_i2c_ts.c | 2

[PATCH] input: elants_i2c: constify attribute_group structures.

2017-07-05 Thread Arvind Yadav
drivers/input/touchscreen/elants_i2c.o File size After adding 'const': textdata bss dec hex filename 9496 944 0 1044028c8 drivers/input/touchscreen/elants_i2c.o Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/elants_i2c.c | 2 +- 1 file

<    1   2   3   4   5   6   7   8   9   10   >