Removed braces from single statement if condition.Fixed checkpatch.pl
warning.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
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 del
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 <bhumi...@gmail.com>
---
drivers/staging/wlan-ng/hfa384x
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 <bhumi...@gmail.com>
---
drivers/staging/iio/impedance-analyzer/ad5933.c | 8 --
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
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 <bhumi...@gmail.com>
---
drivers/staging/iio/adc/ad7280a.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --g
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 <bhumi...@gmail.com>
---
drivers/staging/iio/adc/ad7816.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dri
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 <bhumi...@gmail.com>
---
drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 11 ---
1 file chang
Fix checkpatch.pl check:CHECK: spaces preferred around that '|'.
Add spaces around operands to fix these warnings.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/staging/speakup/speakup_decext.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
Removed blank line after curly braces.
Found using checkpatch.pl.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
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/et
Replaced explicit NULL comparision with its simplier form.
Found using coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/staging/lustre/lustre/llite/dcache.c | 10 +-
1 file changed, 5 insertions(+), 5 del
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
Replace [0] with foo,to follow Linux coding style.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
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
Remove explicit NULL comparision and replace it with a simpier form.
Detected using checkpatch.pl.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/d
Fixed 'braces {} are not necessary for single statement blocks'
checkpatch.pl warning.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/s
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 <bhumi...@gmail.com>
---
drivers/staging/rtl8723au/core/rtw_recv.c
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 <bhumi...@gmail.com>
---
drivers/staging/rtl8723au/core/rtw_wlan_util.c
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 <bhumi...@gmail.com>
---
drivers/staging/rts5208/rtsx_chip.c | 35 ---
d
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 <bhumi...@gmail.com>
---
drivers/staging/rts5208/rtsx_card.
/vpif_display.o
File size details before and after applying the patch remains the same for
drivers/media/platform/pxa_camera.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/platform/davinci/vpif_capture.c | 2 +-
drivers/media/platform/davinci/vpif_display.c | 2 +-
d
:
textdata bss dec hex filename
8448 440 022b8 media/pci/sta2x11/sta2x11_vip.o
File size after:
textdata bss dec hex filename
8552 352 0890422c8 media/pci/sta2x11/sta2x11_vip.o
Signed-off-by: Bhumika Goyal <bh
of media/dvb-frontends/rtl2832_sdr.o file remains the
same before and after applying the patch.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/dvb-frontends/rtl2832_sdr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/dvb-fro
2659 a63 drivers/mailbox/hi6220-mailbox.o
File size after:
text data bss dec hex filename
2467 192 02659 a63 drivers/mailbox/hi6220-mailbox.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/mailbox/hi6220-mailbox.c | 2 +-
1 file c
7290812379 drivers/firewire/core-device.o
File size after:
textdata bss dec hex filename
8248 761 7290812379 drivers/firewire/core-device.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/firewire/core-device.c | 4 ++--
/industrialio-trigger.o
File size after:
textdata bss dec hex filename
5453 176 485677162d iio/industrialio-trigger.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/iio/industrialio-trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 de
1840 730 mailbox/mailbox-xgene-slimpro.o
File size after:
text data bss dec hex filename
1648 192 01840 730 mailbox/mailbox-xgene-slimpro.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/mailbox/mailbox-xgene-slimpro.c | 2 +-
77361e38 drivers/iio/adc/ti-ads1015.o
File size after:
text data bss dec hex filename
7264 472 077361e38 drivers/iio/adc/ti-ads1015.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/iio/adc/ti-ads1015.c | 4 ++--
1 file chan
after:
textdata bss dec hex filename
2483 264 82755 ac3 drivers/input/rmi4/rmi_bus.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/input/input.c| 2 +-
drivers/input/rmi4/rmi_bus.c | 4 ++--
2 files changed, 3 insertions(+), 3 del
/namespace_devs.o
File size after:
text data bss dec hex filename
199293160 16 231055a41 nvdimm/namespace_devs.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/nvdimm/namespace_devs.c | 6 +++---
1 file changed, 3 insertions(+), 3 del
:
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 <bhumi...@gmail.com>
---
drive
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 <bhumi...@gmail.com>
---
drivers/usb/musb/jz4740
313877a9b sound/pci/cs46xx/cs46xx_lib.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
Changes in v2:
* test build the patch with CONFIG_SND_CS46XX_NEW_DSP=y
sound/pci/cs46xx/cs46xx_lib.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
153973c25 sound/pci/cs46xx/cs46xx_lib.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
sound/pci/cs46xx/cs46xx_lib.c | 38 +++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx
381 29 200144e2e drivers/mmc/host/vub300.o
5487 376 0586316e7 drivers/mmc/host/wmt-sdmmc.o
5639 220 0585916e3 drivers/mmc/host/wmt-sdmmc.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/mmc/host/moxart-mmc.c | 2 +-
d
600 83349 d15 drivers/i2c/busses/i2c-xlp9xx.o
2797 544 83349 d15 drivers/i2c/busses/i2c-xlp9xx.o
2643 248 82899 b53 drivers/i2c/busses/i2c-xlr.o
2707 192 82907 b5b drivers/i2c/busses/i2c-xlr.o
Signed-off-by: Bhumika
dec hex filename
9381424 02362 93a regulator/aat2870-regulator.o
File size after: drivers/regulator/aat2870-regulator.o
textdata bss dec hex filename
11941168 02362 93a regulator/aat2870-regulator.o
Signed-off-by: Bhumika Goyal <bh
hex filename
5503 564 0606717b3 regulator/pcap-regulator.o
File size after: drivers/regulator/pcap-regulator.o
textdata bss dec hex filename
5759 308 0606717b3 regulator/pcap-regulator.o
Signed-off-by: Bhumika Goyal <bh
dec hex filename
38281808 85644160c regulator/pv88080-regulator.o
File size after: drivers/regulator/pv88080-regulator.o
textdata bss dec hex filename
43401296 85644160c regulator/pv88080-regulator.o
Signed-off-by: Bhumika Goyal <bh
filename
1707 672 02379 94b drivers/regulator/ad5398.o
File size after: drivers/regulator/ad5398.o
textdata bss dec hex filename
1963 416 02379 94b drivers/regulator/ad5398.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
d
dec hex filename
3680 464 041441030 regulator/act8945a-regulator.o
File size after: drivers/regulator/act8945a-regulator.o
textdata bss dec hex filename
3936 192 041281020 regulator/act8945a-regulator.o
Signed-off-by: Bhumika Goyal
hex filename
15174144 05661161d regulator/as3711-regulator.o
File size after: drivers/regulator/as3711-regulator.o
textdata bss dec hex filename
23013376 05677162d regulator/as3711-regulator.o
Signed-off-by: Bhumika Goyal <bh
dec hex filename
2646 976 03622 e26 regulator/max14577-regulator.o
File size after: drivers/regulator/max14577-regulator.o
textdata bss dec hex filename
3414 192 03606 e16 regulator/max14577-regulator.o
Signed-off-by: Bhumika Goyal
dec hex filename
118111552 0 133633433 regulator/max77802-regulator.o
File size after: drivers/regulator/max77802-regulator.o
textdata bss dec hex filename
13091 272 0 133633433 regulator/max77802-regulator.o
Signed-off-by: Bhumika Goyal
dec hex filename
13849424 256 110642b38 regulator/max8907-regulator.o
File size after: drivers/regulator/max8907-regulator.o
textdata bss dec hex filename
26648400 0 110642b38 regulator/max8907-regulator.o
Signed-off-by: Bhumika Goyal <bh
dec hex filename
3552 12528 16 160963ee0 regulator/pfuze100-regulator.o
File size after: drivers/regulator/pfuze100-regulator.o
textdata bss dec hex filename
4576 11496 16 160883ed8 regulator/pfuze100-regulator.o
Signed-off-by: Bhumika Goyal
dec hex filename
3755392 057671687 regulator/rn5t618-regulator.o
File size after: drivers/regulator/rn5t618-regulator.o
textdata bss dec hex filename
6315136 057671687 regulator/rn5t618-regulator.o
Signed-off-by: Bhumika Goyal <bh
hex filename
2839 720 03559 de7 regulator/anatop-regulator.o
File size after: drivers/regulator/anatop-regulator.o
textdata bss dec hex filename
3367 192 03559 de7 regulator/anatop-regulator.o
Signed-off-by: Bhumika Goyal <bh
filename
23692808 28854651559 drivers/regulator/ltc3676.o
File size after: drivers/regulator/ltc3676.o
textdata bss dec hex filename
31452296 854491549 drivers/regulator/ltc3676.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.
dec hex filename
2230 720 02950 b86 regulator/max77693-regulator.o
File size after: drivers/regulator/max77693-regulator.o
textdata bss dec hex filename
2486 464 02950 b86 regulator/max77693-regulator.o
Signed-off-by: Bhumika Goyal
dec hex filename
9313824 047551293 regulator/rc5t583-regulator.o
File size after: drivers/regulator/rc5t583-regulator.o
textdata bss dec hex filename
11873568 047551293 regulator/rc5t583-regulator.o
Signed-off-by: Bhumika Goyal <bh
hex filename
10016288 072891c79 drivers/regulator/88pm800.o
File size after: drivers/regulator/88pm800.o
textdata bss dec hex filename
15135776 072891c79 drivers/regulator/88pm800.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.
filename
1239 192 01431 597 drivers/regulator/fixed.o
File size after: drivers/regulator/fixed.o
textdata bss dec hex filename
1592 100 1281820 71c drivers/regulator/fixed.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
d
filename
25643312 28861641814 drivers/regulator/ltc3589.o
File size after: drivers/regulator/ltc3589.o
textdata bss dec hex filename
36042544 86156180c drivers/regulator/ltc3589.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.
dec hex filename
99041320 0 112242bd8 regulator/max77686-regulator.o
File size after: drivers/regulator/max77686-regulator.o
textdata bss dec hex filename
10928 280 0 112082bc8 regulator/max77686-regulator.o
Signed-off-by: Bhumika Goyal
dec hex filename
48116992 0 118032e1b regulator/max77620-regulator.o
File size after: drivers/regulator/max77620-regulator.o
textdata bss dec hex filename
50756720 0 117952e13 regulator/max77620-regulator.o
Signed-off-by: Bhumika Goyal
dec hex filename
2763 464 03227 c9b regulator/pcf50633-regulator.o
File size after: drivers/regulator/pcf50633-regulator.o
textdata bss dec hex filename
3019 192 03211 c8b regulator/pcf50633-regulator.o
Signed-off-by: Bhumika Goyal
dec hex filename
13567184 08540215c regulator/max8925-regulator.o
File size after: drivers/regulator/max8925-regulator.o
textdata bss dec hex filename
18686664 085322154 regulator/max8925-regulator.o
Signed-off-by: Bhumika Goyal <bh
hex filename
34665488 0895422fa drivers/regulator/88pm8607.o
File size after: drivers/regulator/88pm8607.o
textdata bss dec hex filename
39784976 0895422fa drivers/regulator/88pm8607.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.
hex filename
1890 720 02610 a32 drivers/regulator/arizona-ldo1.o
File size after: drivers/regulator/arizona-ldo1.o
textdata bss dec hex filename
2402 192 02594 a22 drivers/regulator/arizona-ldo1.o
Signed-off-by: Bhumika Goyal <bh
hex filename
1738 464 82210 8a2 regulator/arizona-micsupp.o
File size after: drivers/regulator/arizona-micsupp.o
textdata bss dec hex filename
1994 192 82194 892 regulator/arizona-micsupp.o
Signed-off-by: Bhumika Goyal <bh
hex filename
168481232 0 1808046a0 regulator/axp20x-regulator.o
File size after: drivers/regulator/axp20x-regulator.o
textdata bss dec hex filename
17888 192 0 1808046a0 regulator/axp20x-regulator.o
Signed-off-by: Bhumika Goyal <bh
dec hex filename
18073360 05167142f regulator/bcm590xx-regulator.o
File size after: drivers/regulator/bcm590xx-regulator.o
textdata bss dec hex filename
25752592 05167142f regulator/bcm590xx-regulator.o
Signed-off-by: Bhumika Goyal
hex filename
3273 720 03993 f99 regulator/gpio-regulator.o
File size after: drivers/regulator/gpio-regulator.o
textdata bss dec hex filename
3801 192 03993 f99 regulator/gpio-regulator.o
Signed-off-by: Bhumika Goyal <bh
hex filename
97526296 288 163363fd0 regulator/palmas-regulator.o
File size after: drivers/regulator/palmas-regulator.o
textdata bss dec hex filename
128563480 8 163443fd0 regulator/palmas-regulator.o
Signed-off-by: Bhumika Goyal <bh
hex filename
2545 624 03169 c61 regulator/pbias-regulator.o
File size after: drivers/regulator/pbias-regulator.o
textdata bss dec hex filename
2801 368 03169 c61 regulator/pbias-regulator.o
Signed-off-by: Bhumika Goyal <bh
dec hex filename
6195 752 869551b2b regulator/pv88060-regulator.o
File size after: drivers/regulator/pv88060-regulator.o
textdata bss dec hex filename
6739 240 869871b4b regulator/pv88060-regulator.o
Signed-off-by: Bhumika Goyal <bh
On Sat, Jan 28, 2017 at 8:57 PM, Guenter Roeck <li...@roeck-us.net> wrote:
> On 01/27/2017 11:41 PM, Bhumika Goyal wrote:
>>
>> Declare watchdog_ops structures as const as they are only stored in the
>> ops field of a watchdog_device structure. This field is of typ
filename
3048 496 03544 dd8 drivers/regulator/max8952.o
File size after: drivers/regulator/max8952.o
textdata bss dec hex filename
3304 240 03544 dd8 drivers/regulator/max8952.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.
filename
3512 496 84016 fb0 drivers/regulator/fan53555.o
File size after: drivers/regulator/fan53555.o
textdata bss dec hex filename
3768 240 84016 fb0 drivers/regulator/fan53555.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.
filename
35192800 8632718b7 drivers/regulator/lp8755.o
File size after: drivers/regulator/lp8755.o
textdata bss dec hex filename
37792544 8633118bb drivers/regulator/lp8755.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
d
hex filename
6893120 03809 ee1 regulator/hi655x-regulator.o
File size after: drivers/regulator/hi655x-regulator.o
textdata bss dec hex filename
12012608 03809 ee1 regulator/hi655x-regulator.o
Signed-off-by: Bhumika Goyal <bh
dec hex filename
28292032 848691305 regulator/pv88090-regulator.o
File size after: drivers/regulator/pv88090-regulator.o
textdata bss dec hex filename
33411520 848691305 regulator/pv88090-regulator.o
Signed-off-by: Bhumika Goyal <bh
not compile:
drivers/watchdog/sun4v_wdt.o, drivers/watchdog/sbsa_gwdt.o,
drivers/watchdog/rt2880_wdt.o, drivers/watchdog/booke_wdt.o
drivers/watchdog/mt7621_wdt.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/watchdog/asm9260_wdt.c | 2 +-
drivers/watchdog/atlas7_wdt.c| 2 +-
d
filename
3832 288 4841681048 macintosh/windfarm_smu_sensors.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/macintosh/windfarm_smu_sensors.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/macintosh/windfarm_smu_sensor
On Wed, Jan 25, 2017 at 9:31 PM, Joe Perches wrote:
> On Wed, 2017-01-25 at 07:49 +0100, Julia Lawall wrote:
>> What does the data column actually represent? I tried size on the .o file
>> generated from:
>>
>> commit a65f0161f4d69d6738d4821e649448312cd818e2
>> Author: Stephen
before:
textdata bss dec hex filename
6201 744 069451b21 ethernet/xilinx/xilinx_emaclite.o
File size after:
textdata bss dec hex filename
6745 192 069371b19 ethernet/xilinx/xilinx_emaclite.o
Signed-off-by: Bhumika Goyal
before:
textdata bss dec hex filename
4821 744 0556515bd ethernet/moxa/moxart_ether.o
File size after:
textdata bss dec hex filename
5373 192 0556515bd ethernet/moxa/moxart_ether.o
Signed-off-by: Bhumika Goyal <bh
:
textdata bss dec hex filename
4821 744 0556515bd ethernet/moxa/moxart_ether.o
File size after:
textdata bss dec hex filename
5373 192 0556515bd ethernet/moxa/moxart_ether.o
Signed-off-by: Bhumika Goyal <bh
:
textdata bss dec hex filename
6201 744 069451b21 ethernet/xilinx/xilinx_emaclite.o
File size after:
textdata bss dec hex filename
6745 192 069371b19 ethernet/xilinx/xilinx_emaclite.o
Signed-off-by: Bhumika Goyal
534 drivers/regulator/ad5398.o
1208 124 01332 534 drivers/regulator/ad5398.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/regulator/88pm800.c | 4 ++--
drivers/regulator/88pm8607.c| 4 ++--
drivers/regulator/aat2870-regul
, drivers/tty/serial/lpc32xx_hs.o and
drivers/tty/serial/lantiq.o did not compile.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/tty/serial/amba-pl010.c| 2 +-
drivers/tty/serial/amba-pl011.c| 2 +-
drivers/tty/serial/ar933x_uart.c | 2 +-
drivers/tty/serial/dz.c
Declare snd_kcontrol_new structures as const as they are only passed as
an argument to the function add_new_ctl. This agrument is of type const,
so snd_kcontrol_new structures having this property can be made const
too.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
sou
-by: Bhumika Goyal <bhumi...@gmail.com>
---
sound/pci/au88x0/au88x0_a3d.c| 2 +-
sound/pci/au88x0/au88x0_eq.c | 6 +++---
sound/pci/au88x0/au88x0_pcm.c| 2 +-
sound/pci/aw2/aw2-alsa.c | 2 +-
sound/pci/bt87x.c| 6 +++---
sound/pci/ca0106/ca0106_mixer.c
Declare snd_emux_operators structure as const as it is only copied into
another structure. So, snd_emux_operators structures having this property
can be made const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
sound/pci/emu10k1/emu10k1_callback.c | 2 +-
1 file changed, 1 ins
be made const too.
File size before:
textdata bss dec hex filename
4817 541 1725530159a fs/pstore/platform.o
File size after:
textdata bss dec hex filename
4865 477 1725514158a fs/pstore/platform.o
Signed-off-by: Bhumika
hex filename
7582 536 081181fb6 common/b2c2/flexcop-fe-tuner.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/common/b2c2/flexcop-fe-tuner.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/common/b2c2/flexcop-fe-t
hex filename
213843744 16 251446238 saa7134/saa7134-dvb.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/pci/saa7134/saa7134-dvb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/pci/saa7134/saa7134-dvb.c
b/drivers
157672262 36 180654691 media/pci/ttpci/budget-ci.o
105551918 4 1247730bd drivers/media/pci/ttpci/budget.o
106831822 4 1250930dd drivers/media/pci/ttpci/budget.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/pci/dm1105/dm
ocfs2_lock_res_ops can be made
const as they are only passed as an argument to the above updated function.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
fs/ocfs2/dlmglue.c | 26 +-
fs/ocfs2/ocfs2.h | 2 +-
2 files changed, 14 insertions(+), 14 deletions(-)
reference is passed is of type
const. So, mb86a16_config structures having this property can be made
const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/pci/cx88/cx88-dvb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/pci/cx88/cx88
to which the object reference is passed is of type
const. So, mb86a16_config structures having this property can be made
const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/pci/mantis/mantis_vp1034.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
optional_qualifier@
identifier r1.i;
@@
+const
struct bin_attribute i;
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/
optional_qualifier@
identifier r1.i;
@@
+const
struct bin_attribute i;
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/
__ro_after_init to its declaration.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/clocksource/arm_arch_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/arm_arch_timer.c
b/drivers/clocksource/arm_arch_timer.c
index 4c8c3fb..a10506b
declaration.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
kernel/ksysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c
index ee1bc1b..0999679 100644
--- a/kernel/ksysfs.c
+++ b/kernel/ksysfs.c
@@ -195,7 +195,7 @@ static ssize_t note
On Sun, Feb 12, 2017 at 2:01 AM, Ard Biesheuvel
<ard.biesheu...@linaro.org> wrote:
> On 11 February 2017 at 19:20, Bhumika Goyal <bhumi...@gmail.com> wrote:
>> The object cyclecounter of type cyclecounter is not getting modified
>> after getting initialized by arch_c
On Sun, Feb 12, 2017 at 2:05 AM, Thomas Gleixner <t...@linutronix.de> wrote:
> On Sun, 12 Feb 2017, Bhumika Goyal wrote:
>
> Please be more careful with your subject line. The prefix for this is
> definitely not 'clocksource'. git log would have told you the proper one:
>
On Mon, Feb 13, 2017 at 12:26 AM, Thomas Gleixner <t...@linutronix.de> wrote:
> On Sun, 12 Feb 2017, Bhumika Goyal wrote:
>
>> On Sun, Feb 12, 2017 at 2:01 AM, Ard Biesheuvel
>> <ard.biesheu...@linaro.org> wrote:
>> > On 11 February 2017 at 19:20, B
drivers/block/rbd.o
File size after:
textdata bss dec hex filename
61610 11578 208 73396 11eb4 drivers/block/rbd.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/block/rbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/d
4260 336 1646121204 hid/intel-ish-hid/ishtp/bus.o
File size after: drivers/hid/intel-ish-hid/ishtp/bus.o
textdata bss dec hex filename
4324 272 1646121204 hid/intel-ish-hid/ishtp/bus.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.
filename
54131 31355 184 85670 14ea6 fs/f2fs/super.o
File size after: fs/f2fs/super.o
textdata bss dec hex filename
54227 31259 184 85670 14ea6 fs/f2fs/super.o
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
fs/f2fs/super.c | 4 ++--
1 file chan
1 - 100 of 1340 matches
Mail list logo