[PATCH] media: platform: exynos4-is: constify v4l2_subdev_* structures

2016-12-12 Thread Bhumika Goyal
after: textdata bss dec hex filename 17022 880 0 1790245ee platform/exynos4-is/fimc-capture.o 8299 192 208511213f platform/exynos4-is/mipi-csis.o Signed-off-by: Bhumika Goyal --- drivers/media/platform/exynos4-is/fimc-capture.c | 4

[PATCH] ide: palm_bk3710: add __initdata to palm_bk3710_port_info

2016-12-30 Thread Bhumika Goyal
the values of the fields. Therefore add __initdata to its declaration. Signed-off-by: Bhumika Goyal --- Compiled, but not tested drivers/ide/palm_bk3710.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/palm_bk3710.c b/drivers/ide/palm_bk3710.c index 46427ea

Re: [PATCH] drivers: remoteproc: constify rproc_ops structures

2016-12-31 Thread Bhumika Goyal
On Fri, Dec 30, 2016 at 5:36 PM, Bjorn Andersson wrote: > On Sat 17 Dec 03:29 PST 2016, Bhumika Goyal wrote: > >> Declare rproc_ops structures as const as they are only passed as an >> argument to the function rproc_alloc. This argument is of type const, so >> rpr

Re: [PATCH] drivers: remoteproc: constify rproc_ops structures

2016-12-31 Thread Bhumika Goyal
On Sat, Dec 31, 2016 at 11:24 PM, Bjorn Andersson wrote: > On Sat 31 Dec 02:43 PST 2016, Bhumika Goyal wrote: > >> On Fri, Dec 30, 2016 at 5:36 PM, Bjorn Andersson >> wrote: >> > On Sat 17 Dec 03:29 PST 2016, Bhumika Goyal wrote: >> > >> >> Declar

[PATCH v2] drivers: remoteproc: constify rproc_ops structures

2017-01-01 Thread Bhumika Goyal
/st_slim_rproc.o 1320 64 01384 568 remoteproc/st_slim_rproc.o 2121 240 02361 939 remoteproc/wkup_m3_rproc.o 2161 192 02353 931 remoteproc/wkup_m3_rproc.o Signed-off-by: Bhumika Goyal --- Changes in v2: * Apply the changes to the file

[PATCH] firmware: google: add __ro_after_init to memconsole_bin_attr

2017-01-01 Thread Bhumika Goyal
bin_attribute *. Therefore add __ro_after_init to its declaration. Signed-off-by: Bhumika Goyal --- drivers/firmware/google/memconsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/google/memconsole.c b/drivers/firmware/google/memconsole.c index 2f569aa

[PATCH] video: fbdev: maxinefb: add __initdata to maxinefb_fix

2017-01-01 Thread Bhumika Goyal
add __initdata to its declaration. Signed-off-by: Bhumika Goyal --- drivers/video/fbdev/maxinefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/maxinefb.c b/drivers/video/fbdev/maxinefb.c index 5cf52d3..cab7333 100644 --- a/drivers/video/fbdev/maxinefb.c

[PATCH] usb: gadget: udc: constify usb_ep_ops structures

2017-01-23 Thread Bhumika Goyal
16 189484a04 usb/gadget/udc/r8a66597-udc.o Files: drivers/usb/gadget/udc/{s3c-hsudc.o/omap_udc.o/fsl_qe_udc.o} did not complie. Signed-off-by: Bhumika Goyal --- drivers/usb/gadget/udc/fotg210-udc.c | 2 +- drivers/usb/gadget/udc/fsl_qe_udc.c | 2 +- drivers/usb/gadget/udc

[PATCH] input: constify device_type structures

2017-01-23 Thread Bhumika Goyal
after: textdata bss dec hex filename 2483 264 82755 ac3 drivers/input/rmi4/rmi_bus.o Signed-off-by: Bhumika Goyal --- drivers/input/input.c| 2 +- drivers/input/rmi4/rmi_bus.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] usb: musb: constify musb_hdrc_config structures

2017-01-24 Thread Bhumika Goyal
filename 3668 864 0453211b4 drivers/usb/musb/ux500.o File size after: textdata bss dec hex filename 3724 808 0453211b4 drivers/usb/musb/ux500.o Signed-off-by: Bhumika Goyal --- drivers/usb/musb/jz4740.c | 2 +- drivers/usb/musb/sunxi.c

[PATCH] nvdimm: constify device_type structures

2017-01-24 Thread Bhumika Goyal
/namespace_devs.o File size after: text data bss dec hex filename 199293160 16 231055a41 nvdimm/namespace_devs.o Signed-off-by: Bhumika Goyal --- drivers/nvdimm/namespace_devs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH] mfd: constify regmap_irq_chip structures

2017-01-24 Thread Bhumika Goyal
: textdata bss dec hex filename 5033 584 1656331601 drivers/mfd/rk808.o File size after: textdata bss dec hex filename 5225 392 1656331601 drivers/mfd/rk808.o Signed-off-by: Bhumika Goyal --- drivers/mfd/rk808.c | 4 ++-- 1

[PATCH] iio: Declare event_attrs field of iio_info structure as const

2016-10-01 Thread Bhumika Goyal
the kernel using grep and coccinelle. Signed-off-by: Bhumika Goyal --- include/linux/iio/iio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index b4a0679..4591d8e 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h

Re: [PATCH] iio: Declare event_attrs field of iio_info structure as const

2016-10-01 Thread Bhumika Goyal
On Sat, Oct 1, 2016 at 4:39 PM, Jonathan Cameron wrote: > On 01/10/16 10:57, Bhumika Goyal wrote: >> The event_attrs field of iio_info structure is only initialized once >> whenever an object of iio_info is created. After that this field >> is never modified again anywh

[PATCH 0/2]Staging:lustre:obdclass:linux:fix checkpatch.pl warnings

2016-01-20 Thread Bhumika Goyal
This patch series addresses checkpatch.pl warnings in lustre driver. Bhumika Goyal (2): Staging:lustre:obdclass:linux:remove unnecessary braces Staging:lustre:obdclass:linux:simplify NULL comparison drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 12 +--- 1 file

[PATCH 2/2] Staging:lustre:obdclass:linux:simplify NULL comparison

2016-01-20 Thread Bhumika Goyal
Remove explicit NULL comparision and replace it with a simpier form. Detected using checkpatch.pl. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre

[PATCH 1/2] Staging:lustre:obdclass:linux:remove unnecessary braces

2016-01-20 Thread Bhumika Goyal
Fixed 'braces {} are not necessary for single statement blocks' checkpatch.pl warning. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass

[PATCH] staging:lustre:obdclass:linux:convert [0] to foo

2016-01-20 Thread Bhumika Goyal
Replace [0] with foo,to follow Linux coding style. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c b/drivers

[PATCH v2] drivers:char:Removed unnecessary braces

2015-12-21 Thread Bhumika Goyal
Removed braces from single statement if condition.Fixed checkpatch.pl warning. Signed-off-by: Bhumika Goyal --- Changes in v2: -Correct the subject and also send to a public mailing list. --- drivers/char/raw.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 0/2] Staging:iio:adc:Prefer using BIT macro

2016-02-07 Thread Bhumika Goyal
This patchset replaces bit shifting on 1 with the BIT(x) macro. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Bhumika Goyal (2): Staging:iio:Prefer using BIT macro Staging: iio: adc: Prefer using the BIT macro drivers/staging/iio/adc/ad7280a.c | 4 ++-- drivers/stagi

[PATCH 2/2] Staging: iio: adc: Prefer using the BIT macro

2016-02-07 Thread Bhumika Goyal
This patch replaces bit shifting on 1 with the BIT(x) macro. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Bhumika Goyal --- drivers/staging/iio/adc/ad7280a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/i

[PATCH 1/2] Staging:iio:Prefer using BIT macro

2016-02-07 Thread Bhumika Goyal
This patch replaces bit shifting on 1 with the BIT(x) macro. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Bhumika Goyal --- drivers/staging/iio/adc/ad7816.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/ad78

[PATCH] Staging:wlan-ng:Merged two lines into one

2016-02-08 Thread Bhumika Goyal
The last two lines of these functions are compressed into one. Also removed the variable ret as it is now not used. Found using coccinelle: @@ expression e, ret; @@ -ret = +return e; -return ret; Signed-off-by: Bhumika Goyal --- drivers/staging/wlan-ng/hfa384x_usb.c | 20

[PATCH] Staging: rtl8723au: Remove unused functions

2016-03-26 Thread Bhumika Goyal
The functions rtw_get_oper_bw23a and rtw_get_oper_ch23aoffset are never used anywhere in the kernel. So, remove their definition and prototype. Grepped to find occurences. Signed-off-by: Bhumika Goyal --- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 10 -- drivers/staging

[PATCH] Staging: rtl8723au: Remove function rtw_enqueue_{recvbuf23a/recvbuf23a_to_head}

2016-03-26 Thread Bhumika Goyal
The functions rtw_enqueue_recvbuf23a and rtw_enqueue_recvbuf23a_to_head are never used anywhere in the kernel. So, remove their definition and prototype. Grepped to find occurences. Signed-off-by: Bhumika Goyal --- drivers/staging/rtl8723au/core/rtw_recv.c| 25

[PATCH] Staging: rts5208: Remove unused functions

2016-03-26 Thread Bhumika Goyal
The functions rtsx_disable_card_int, rtsx_undo_delink, rtsx_check_link_ready are not used anywhere in the kernel. So,remove their definition and prototype. Signed-off-by: Bhumika Goyal --- drivers/staging/rts5208/rtsx_chip.c | 35 --- drivers/staging/rts5208

[PATCH] Staging: rts5208: rtsx_card.c: Remove unused function

2016-03-26 Thread Bhumika Goyal
The functions double_depth, check_card_fail, check_card_ejected are not used anywhere in the kernel. So, remove their prototype and definition. Grepped to find occurences. Signed-off-by: Bhumika Goyal --- drivers/staging/rts5208/rtsx_card.c | 21 - drivers/staging/rts5208

[PATCH] Staging:lustre:lclient:Remove unused function

2016-01-29 Thread Bhumika Goyal
Discard the function ccc_vmpage_page_transient as it is not used anywhere in the kernel. Used grep to find occurences. Problem found using sparse. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 11 --- 1 file changed, 11 deletions(-) diff --git

[PATCH] Staging:octeon:removed blank line after {

2016-02-02 Thread Bhumika Goyal
Removed blank line after curly braces. Found using checkpatch.pl. Signed-off-by: Bhumika Goyal --- drivers/staging/octeon/ethernet-rgmii.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rgmii.c b/drivers/staging/octeon/ethernet-rgmii.c index 1055ee1

[RESEND PATCH] Staging:speakup:add space around '|'

2016-02-01 Thread Bhumika Goyal
Fix checkpatch.pl check:CHECK: spaces preferred around that '|'. Add spaces around operands to fix these warnings. Signed-off-by: Bhumika Goyal --- drivers/staging/speakup/speakup_decext.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers

[PATCH] Staging:iio:Remove exceptional & on function name

2016-02-04 Thread Bhumika Goyal
In this file,function names are otherwise used as pointers without &. Found using coccinelle. // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - + f // Signed-off-by: Bhumika Goyal --- drivers/staging/iio/impedance-analyzer/ad5933.c | 8 1 file changed, 4 insert

[PATCH] Staging:lustre:lustre:llite:Remove explicit NULL comparision

2016-01-23 Thread Bhumika Goyal
Replaced explicit NULL comparision with its simplier form. Found using coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/llite/dcache.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[tip:timers/core] clocksource/drivers/arm_arch_timer:: Mark cyclecounter __ro_after_init

2017-02-12 Thread tip-bot for Bhumika Goyal
Commit-ID: 3d837bc01c2153565333b2ce71d613b6e7cc761c Gitweb: http://git.kernel.org/tip/3d837bc01c2153565333b2ce71d613b6e7cc761c Author: Bhumika Goyal <bhumi...@gmail.com> AuthorDate: Sun, 12 Feb 2017 00:50:18 +0530 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate:

[tip:x86/platform] x86/platform/intel-mid: Make 'bt_sfi_data' const

2017-08-10 Thread tip-bot for Bhumika Goyal
Commit-ID: 276c87054751bb6adfa160a6e68e47b97592a897 Gitweb: http://git.kernel.org/tip/276c87054751bb6adfa160a6e68e47b97592a897 Author: Bhumika Goyal <bhumi...@gmail.com> AuthorDate: Sun, 6 Aug 2017 22:45:20 +0530 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Thu, 10

[tip:x86/urgent] x86/numachip: Add const and __initconst to numachip2_clockevent

2017-09-25 Thread tip-bot for Bhumika Goyal
Commit-ID: 10430364ebb562311ba6a6efa74e0c2298007912 Gitweb: http://git.kernel.org/tip/10430364ebb562311ba6a6efa74e0c2298007912 Author: Bhumika Goyal <bhumi...@gmail.com> AuthorDate: Tue, 29 Aug 2017 23:47:11 +0530 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate:

[tip:x86/cleanups] x86/events/amd/iommu: Make iommu_pmu const and __initconst

2017-10-19 Thread tip-bot for Bhumika Goyal
Commit-ID: 642e641cbea57e559720b9df09889ffcf525cf04 Gitweb: https://git.kernel.org/tip/642e641cbea57e559720b9df09889ffcf525cf04 Author: Bhumika Goyal <bhumi...@gmail.com> AuthorDate: Tue, 19 Sep 2017 16:40:43 +0530 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate:

[tip:x86/platform] x86/platform/intel-mid: Make 'bt_sfi_data' const

2017-08-10 Thread tip-bot for Bhumika Goyal
Commit-ID: 276c87054751bb6adfa160a6e68e47b97592a897 Gitweb: http://git.kernel.org/tip/276c87054751bb6adfa160a6e68e47b97592a897 Author: Bhumika Goyal AuthorDate: Sun, 6 Aug 2017 22:45:20 +0530 Committer: Ingo Molnar CommitDate: Thu, 10 Aug 2017 14:24:32 +0200 x86/platform/intel-mid

[tip:x86/urgent] x86/numachip: Add const and __initconst to numachip2_clockevent

2017-09-25 Thread tip-bot for Bhumika Goyal
Commit-ID: 10430364ebb562311ba6a6efa74e0c2298007912 Gitweb: http://git.kernel.org/tip/10430364ebb562311ba6a6efa74e0c2298007912 Author: Bhumika Goyal AuthorDate: Tue, 29 Aug 2017 23:47:11 +0530 Committer: Thomas Gleixner CommitDate: Mon, 25 Sep 2017 09:36:15 +0200 x86/numachip: Add

[tip:x86/cleanups] x86/events/amd/iommu: Make iommu_pmu const and __initconst

2017-10-19 Thread tip-bot for Bhumika Goyal
Commit-ID: 642e641cbea57e559720b9df09889ffcf525cf04 Gitweb: https://git.kernel.org/tip/642e641cbea57e559720b9df09889ffcf525cf04 Author: Bhumika Goyal AuthorDate: Tue, 19 Sep 2017 16:40:43 +0530 Committer: Thomas Gleixner CommitDate: Thu, 19 Oct 2017 16:15:47 +0200 x86/events/amd/iommu

[tip:timers/core] clocksource/drivers/arm_arch_timer:: Mark cyclecounter __ro_after_init

2017-02-12 Thread tip-bot for Bhumika Goyal
Commit-ID: 3d837bc01c2153565333b2ce71d613b6e7cc761c Gitweb: http://git.kernel.org/tip/3d837bc01c2153565333b2ce71d613b6e7cc761c Author: Bhumika Goyal AuthorDate: Sun, 12 Feb 2017 00:50:18 +0530 Committer: Thomas Gleixner CommitDate: Sat, 11 Feb 2017 21:39:04 +0100 clocksource/drivers

<    9   10   11   12   13   14