[PATCH v4 1/4] Documentation: devicetree: bindings: Document correct and deprecated vendor-prefix with device isl29028

2014-10-07 Thread Darshana Padmadas
This patch documents the device isl29028 with its vendor-prefix. Undocumented deprecated vendor-prefix found by checkpatch also documented for compatibility reasons. Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2

[PATCH v4 2/4] Documentation: devicetree: bindings: Document deprecated device vendor name to fix related warning

2014-10-07 Thread Darshana Padmadas
This patch documents deprecated vendor name of device isl29028 for compatibility with older kernels. Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH v4 0/4] Correct vendor-prefix and document device isl29028

2014-10-07 Thread Darshana Padmadas
string isil,isl29028. Darshana Padmadas (4): Documentation: devicetree: bindings: Document correct and deprecated vendor-prefix with device isl29028 Documentation: devicetree: bindings: Document deprecated device vendor name to fix related warning Staging: iio: light: Added correct vendor

[PATCH v4 3/4] Staging: iio: light: Added correct vendor-prefix for device isl29028

2014-10-07 Thread Darshana Padmadas
This patch adds the correct vendor-prefix for device isl29028 and maintains deprecated vendor-prefix found by checkpatch warning for older kernel releases. Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- drivers/staging/iio/light/isl29028.c | 3 ++- 1 file changed, 2 insertions

[PATCH v4 4/4] arch: arm: boot: dts: Added correct vendor-prefix with device name to compatible property

2014-10-07 Thread Darshana Padmadas
This patch adds the correct vendor-prefix listed in Documentation/devicetree/bindings/vendor-prefixes.txt with the device name to compatible property. Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v5 0/4] Correct vendor-prefix and document device isl29028

2014-11-08 Thread Darshana Padmadas
string isil,isl29028. Darshana Padmadas (4): dt-bindings: Document correct and deprecated vendor-prefix with device isl29028 dt-bindings: Document deprecated device vendor name to fix related warning Staging: iio: light: Added correct vendor-prefix for device isl29028 arch: arm: boot

[PATCH v5 1/4] dt-bindings: Document correct and deprecated vendor-prefix with device isl29028

2014-11-08 Thread Darshana Padmadas
This patch documents the device isl29028 with its vendor-prefix. Undocumented deprecated vendor-prefix found by checkpatch also documented for compatibility reasons. Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Mark Rutland mark.rutl

[PATCH v5 2/4] dt-bindings: Document deprecated device vendor name to fix related warning

2014-11-08 Thread Darshana Padmadas
This patch documents deprecated vendor name isil to fix warning of undocumented string for device isl29028 as reported while running checkpatch.pl on drivers/staging/iio/light/isl29028.c. This is done to maintain compatibility with older kernels. Signed-off-by: Darshana Padmadas darshanapadma

[PATCH v5 3/4] Staging: iio: light: Added correct vendor-prefix for device isl29028

2014-11-08 Thread Darshana Padmadas
This patch adds the correct vendor-prefix for device isl29028 and maintains deprecated vendor-prefix found by checkpatch warning for older kernel releases. Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Mark Rutland mark.rutl...@arm.com

[PATCH v5 4/4] arch: arm: boot: dts: Correct vendor-prefix for iio device isl29028 in compatible property

2014-11-08 Thread Darshana Padmadas
/light/isl29028.c. Thus incorrect vendor-prefix isil was corrected for every mention of device isl29028. Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Mark Rutland mark.rutl...@arm.com --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 2

[PATCH] drivers: ras: Include appropriate header in debugfs.c

2015-01-29 Thread Darshana Padmadas
prototype for ‘ras_add_daemon_trace’ [-Wmissing-prototypes] drivers/ras/debugfs.c:53:13: warning: no previous prototype for ‘ras_debugfs_init’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- drivers/ras/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] iio: adc: Call uninitialized_var for raw_sample

2015-03-19 Thread Darshana Padmadas
This patch calls uninitialized_var function for uninitialized variable raw_sample. This error was reported by the static analysis tool, cppcheck. Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- drivers/iio/adc/ad_sigma_delta.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[PATCH 01/16] arch: x86: boot: Make function static and add function prototype

2015-03-04 Thread Darshana Padmadas
for ‘make_boot_params’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/boot/compressed/eboot.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c index 92b9a5f..cb4ebab

[PATCH 00/16] Eliminate GCC -Wmissing-prototype warnings

2015-03-04 Thread Darshana Padmadas
by the functions in mind. - Add the prototype above the function definition. These warnings can be generated by adding -Wmissing-prototypes to KBUILD_FLAGS in the top-level Makefile and then perform the build. Darshana Padmadas (16): arch: x86: boot: Make function static and add

[PATCH 03/16] arch: x86: boot: Include header string.h for function prototypes

2015-03-04 Thread Darshana Padmadas
prototype for ‘memcmp’ [-Wmissing-prototypes] arch/x86/boot/compressed/string.c:18:7: warning: no previous prototype for ‘memcpy’ [-Wmissing-prototypes] arch/x86/boot/compressed/string.c:33:7: warning: no previous prototype for ‘memset’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas

[PATCH 06/16] arch: x86: kernel: cpu: Mark function mce_chrdev_write static

2015-03-04 Thread Darshana Padmadas
cpu/mcheck/mce.c defines mce_chrdev_write. No other file uses or defines this function, so make this static. This eliminates the follwing warning: arch/x86/kernel/cpu/mcheck/mce.c:1981:9: warning: no previous prototype for ‘mce_chrdev_write’ [-Wmissing-prototypes] Signed-off-by: Darshana

[PATCH 02/16] arch: x86: boot: Add prototype for decompress_kernel

2015-03-04 Thread Darshana Padmadas
] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/boot/compressed/misc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c index a950864..43bb537 100644 --- a/arch/x86/boot/compressed/misc.c +++ b

[PATCH 04/16] arch: x86: ia32: Add prototype for compat_ni_syscall

2015-03-04 Thread Darshana Padmadas
for ‘compat_ni_syscall’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/ia32/nosyscall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/ia32/nosyscall.c b/arch/x86/ia32/nosyscall.c index 51ecd5b..22f757b 100644 --- a/arch/x86/ia32/nosyscall.c +++ b

[PATCH 14/16] arch: x86: xen: Mark internal function xen_flush_tlb_all static.

2015-03-04 Thread Darshana Padmadas
xen_flush_tlb_all is defined only in mmu.c, so mark it static. This eliminates the following gcc warning: arch/x86/xen/mmu.c:1211:6: warning: no previous prototype for ‘xen_flush_tlb_all’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/xen/mmu.c

[PATCH 15/16] arch: x86: xen: Add prototypes for functions defined in mmu.c

2015-03-04 Thread Darshana Padmadas
-prototypes] arch/x86/xen/mmu.c:512:17: warning: no previous prototype for ‘xen_make_pud’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/xen/mmu.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/x86/xen/mmu.h b/arch/x86/xen/mmu.h index

[PATCH 13/16] arch: x86: xen: Add prototype for xen_start_kernel in enlighten.c

2015-03-04 Thread Darshana Padmadas
for ‘xen_start_kernel’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/xen/enlighten.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 78a881b..4061672 100644 --- a/arch/x86/xen/enlighten.c

[PATCH 05/16] arch: x86: kernel: Make internal functions static in cpu/intel_cacheinfo.c

2015-03-04 Thread Darshana Padmadas
for ‘amd_get_l3_disable_slot’ [-Wmissing-prototypes] arch/x86/kernel/cpu/intel_cacheinfo.c:427:5: warning: no previous prototype for ‘amd_set_l3_disable_slot’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/kernel/cpu/intel_cacheinfo.c | 4 ++-- 1 file changed, 2

[PATCH 07/16] arch: x86: kernel: Mark internal function EVT_TO_HPET_DEV static

2015-03-04 Thread Darshana Padmadas
hpet.c defines the function EVT_TO_HPET_DEV internally. No other file defines this function. So make this function static. This eliminates the following warning: arch/x86/kernel/hpet.c:55:25: warning: no previous prototype for ‘EVT_TO_HPET_DEV’ [-Wmissing-prototypes] Signed-off-by: Darshana

[PATCH 09/16] arch: x86: kernel: Include asm/switch_to.h for function prototype

2015-03-04 Thread Darshana Padmadas
for ‘__switch_to_xtra’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/kernel/process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index e127dda..1c77bc6 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86

[PATCH 11/16] arch: x86: kernel: Add prototype for smp_reboot_interrupt

2015-03-04 Thread Darshana Padmadas
smp.c defines smp_reboot_interrupt used in this file and in some assembly, so add a prototype for the same in smp.c This eliminates the following warning: arch/x86/kernel/smp.c:171:27: warning: no previous prototype for ‘smp_reboot_interrupt’ [-Wmissing-prototypes] Signed-off-by: Darshana

[PATCH 08/16] arch: x86: kernel: Mark internal functions static in kvm.c

2015-03-04 Thread Darshana Padmadas
/kvm.c:658:16: warning: no previous prototype for ‘kvm_init_debugfs’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/kernel/kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c

[PATCH 10/16] arch: x86: kernel: Add prototype for function sys32_x32_rt_sigreturn

2015-03-04 Thread Darshana Padmadas
] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/kernel/signal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 0a62df4..2625c23 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c @@ -781,6

[PATCH 12/16] arch: x86: kernel: Add prototype for fixup_bad_iret in traps.c

2015-03-04 Thread Darshana Padmadas
: warning: no previous prototype for ‘fixup_bad_iret’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/kernel/traps.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index fb4cb6a..ab015cd

[PATCH 16/16] arch: x86: xen: Mark internal functions static in setup.c

2015-03-04 Thread Darshana Padmadas
: no previous prototype for ‘xen_pvmmu_arch_setup’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas darshanapadma...@gmail.com --- arch/x86/xen/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 865e56c..2b3f935

[PATCH] iio: adc: Call uninitialized_var for raw_sample

2015-03-19 Thread Darshana Padmadas
This patch calls uninitialized_var function for uninitialized variable raw_sample. This error was reported by the static analysis tool, cppcheck. Signed-off-by: Darshana Padmadas --- drivers/iio/adc/ad_sigma_delta.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v5 0/4] Correct vendor-prefix and document device isl29028

2014-11-08 Thread Darshana Padmadas
string "isil,isl29028". Darshana Padmadas (4): dt-bindings: Document correct and deprecated vendor-prefix with device isl29028 dt-bindings: Document deprecated device vendor name to fix related warning Staging: iio: light: Added correct vendor-prefix for device isl29028 arch:

[PATCH v5 1/4] dt-bindings: Document correct and deprecated vendor-prefix with device isl29028

2014-11-08 Thread Darshana Padmadas
This patch documents the device isl29028 with its vendor-prefix. Undocumented deprecated vendor-prefix found by checkpatch also documented for compatibility reasons. Signed-off-by: Darshana Padmadas Acked-by: Arnd Bergmann Acked-by: Mark Rutland --- Documentation/devicetree/bindings/i2c

[PATCH v5 2/4] dt-bindings: Document deprecated device vendor name to fix related warning

2014-11-08 Thread Darshana Padmadas
This patch documents deprecated vendor name "isil" to fix warning of undocumented string for device isl29028 as reported while running checkpatch.pl on drivers/staging/iio/light/isl29028.c. This is done to maintain compatibility with older kernels. Signed-off-by: Darshana Padmadas Acke

[PATCH v5 3/4] Staging: iio: light: Added correct vendor-prefix for device isl29028

2014-11-08 Thread Darshana Padmadas
This patch adds the correct vendor-prefix for device isl29028 and maintains deprecated vendor-prefix found by checkpatch warning for older kernel releases. Signed-off-by: Darshana Padmadas Acked-by: Arnd Bergmann Acked-by: Mark Rutland Acked-by: Jonathan Cameron --- drivers/staging/iio/light

[PATCH v5 4/4] arch: arm: boot: dts: Correct vendor-prefix for iio device isl29028 in compatible property

2014-11-08 Thread Darshana Padmadas
ckpatch.pl warning for drivers/staging/iio/light/isl29028.c. Thus incorrect vendor-prefix "isil" was corrected for every mention of device isl29028. Signed-off-by: Darshana Padmadas Acked-by: Arnd Bergmann Acked-by: Mark Rutland --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 2 +- 1 file chan

[PATCH v4 1/4] Documentation: devicetree: bindings: Document correct and deprecated vendor-prefix with device isl29028

2014-10-07 Thread Darshana Padmadas
This patch documents the device isl29028 with its vendor-prefix. Undocumented deprecated vendor-prefix found by checkpatch also documented for compatibility reasons. Signed-off-by: Darshana Padmadas --- Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2 ++ 1 file changed, 2

[PATCH v4 2/4] Documentation: devicetree: bindings: Document deprecated device vendor name to fix related warning

2014-10-07 Thread Darshana Padmadas
This patch documents deprecated vendor name of device isl29028 for compatibility with older kernels. Signed-off-by: Darshana Padmadas --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor

[PATCH v4 0/4] Correct vendor-prefix and document device isl29028

2014-10-07 Thread Darshana Padmadas
string "isil,isl29028". Darshana Padmadas (4): Documentation: devicetree: bindings: Document correct and deprecated vendor-prefix with device isl29028 Documentation: devicetree: bindings: Document deprecated device vendor name to fix related warning Staging: iio: light: Add

[PATCH v4 3/4] Staging: iio: light: Added correct vendor-prefix for device isl29028

2014-10-07 Thread Darshana Padmadas
This patch adds the correct vendor-prefix for device isl29028 and maintains deprecated vendor-prefix found by checkpatch warning for older kernel releases. Signed-off-by: Darshana Padmadas --- drivers/staging/iio/light/isl29028.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v4 4/4] arch: arm: boot: dts: Added correct vendor-prefix with device name to compatible property

2014-10-07 Thread Darshana Padmadas
This patch adds the correct vendor-prefix listed in Documentation/devicetree/bindings/vendor-prefixes.txt with the device name to compatible property. Signed-off-by: Darshana Padmadas --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] drivers: ras: Include appropriate header in debugfs.c

2015-01-29 Thread Darshana Padmadas
prototype for ‘ras_add_daemon_trace’ [-Wmissing-prototypes] drivers/ras/debugfs.c:53:13: warning: no previous prototype for ‘ras_debugfs_init’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- drivers/ras/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ras

[PATCH 02/16] arch: x86: boot: Add prototype for decompress_kernel

2015-03-04 Thread Darshana Padmadas
] Signed-off-by: Darshana Padmadas --- arch/x86/boot/compressed/misc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c index a950864..43bb537 100644 --- a/arch/x86/boot/compressed/misc.c +++ b/arch/x86/boot/compressed

[PATCH 04/16] arch: x86: ia32: Add prototype for compat_ni_syscall

2015-03-04 Thread Darshana Padmadas
for ‘compat_ni_syscall’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/ia32/nosyscall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/ia32/nosyscall.c b/arch/x86/ia32/nosyscall.c index 51ecd5b..22f757b 100644 --- a/arch/x86/ia32/nosyscall.c +++ b/arch/x86/ia32/nosyscall.c

[PATCH 01/16] arch: x86: boot: Make function static and add function prototype

2015-03-04 Thread Darshana Padmadas
for ‘make_boot_params’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/boot/compressed/eboot.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c index 92b9a5f..cb4ebab 100644 --- a/arch/x86/boot

[PATCH 00/16] Eliminate GCC -Wmissing-prototype warnings

2015-03-04 Thread Darshana Padmadas
by the functions in mind. - Add the prototype above the function definition. These warnings can be generated by adding -Wmissing-prototypes to KBUILD_FLAGS in the top-level Makefile and then perform the build. Darshana Padmadas (16): arch: x86: boot: Make function static and add

[PATCH 03/16] arch: x86: boot: Include header string.h for function prototypes

2015-03-04 Thread Darshana Padmadas
prototype for ‘memcmp’ [-Wmissing-prototypes] arch/x86/boot/compressed/string.c:18:7: warning: no previous prototype for ‘memcpy’ [-Wmissing-prototypes] arch/x86/boot/compressed/string.c:33:7: warning: no previous prototype for ‘memset’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas

[PATCH 06/16] arch: x86: kernel: cpu: Mark function mce_chrdev_write static

2015-03-04 Thread Darshana Padmadas
cpu/mcheck/mce.c defines mce_chrdev_write. No other file uses or defines this function, so make this static. This eliminates the follwing warning: arch/x86/kernel/cpu/mcheck/mce.c:1981:9: warning: no previous prototype for ‘mce_chrdev_write’ [-Wmissing-prototypes] Signed-off-by: Darshana

[PATCH 05/16] arch: x86: kernel: Make internal functions static in cpu/intel_cacheinfo.c

2015-03-04 Thread Darshana Padmadas
for ‘amd_get_l3_disable_slot’ [-Wmissing-prototypes] arch/x86/kernel/cpu/intel_cacheinfo.c:427:5: warning: no previous prototype for ‘amd_set_l3_disable_slot’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/kernel/cpu/intel_cacheinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 10/16] arch: x86: kernel: Add prototype for function sys32_x32_rt_sigreturn

2015-03-04 Thread Darshana Padmadas
] Signed-off-by: Darshana Padmadas --- arch/x86/kernel/signal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 0a62df4..2625c23 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c @@ -781,6 +781,9 @@ void signal_fault

[PATCH 11/16] arch: x86: kernel: Add prototype for smp_reboot_interrupt

2015-03-04 Thread Darshana Padmadas
smp.c defines smp_reboot_interrupt used in this file and in some assembly, so add a prototype for the same in smp.c This eliminates the following warning: arch/x86/kernel/smp.c:171:27: warning: no previous prototype for ‘smp_reboot_interrupt’ [-Wmissing-prototypes] Signed-off-by: Darshana

[PATCH 08/16] arch: x86: kernel: Mark internal functions static in kvm.c

2015-03-04 Thread Darshana Padmadas
/kvm.c:658:16: warning: no previous prototype for ‘kvm_init_debugfs’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/kernel/kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 94f6434..484f869

[PATCH 07/16] arch: x86: kernel: Mark internal function EVT_TO_HPET_DEV static

2015-03-04 Thread Darshana Padmadas
hpet.c defines the function EVT_TO_HPET_DEV internally. No other file defines this function. So make this function static. This eliminates the following warning: arch/x86/kernel/hpet.c:55:25: warning: no previous prototype for ‘EVT_TO_HPET_DEV’ [-Wmissing-prototypes] Signed-off-by: Darshana

[PATCH 09/16] arch: x86: kernel: Include for function prototype

2015-03-04 Thread Darshana Padmadas
for ‘__switch_to_xtra’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/kernel/process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index e127dda..1c77bc6 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -28,6

[PATCH 14/16] arch: x86: xen: Mark internal function xen_flush_tlb_all static.

2015-03-04 Thread Darshana Padmadas
xen_flush_tlb_all is defined only in mmu.c, so mark it static. This eliminates the following gcc warning: arch/x86/xen/mmu.c:1211:6: warning: no previous prototype for ‘xen_flush_tlb_all’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/xen/mmu.c | 2 +- 1 file changed, 1

[PATCH 15/16] arch: x86: xen: Add prototypes for functions defined in mmu.c

2015-03-04 Thread Darshana Padmadas
-prototypes] arch/x86/xen/mmu.c:512:17: warning: no previous prototype for ‘xen_make_pud’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/xen/mmu.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/x86/xen/mmu.h b/arch/x86/xen/mmu.h index 73809bb..d38126d 100644

[PATCH 13/16] arch: x86: xen: Add prototype for xen_start_kernel in enlighten.c

2015-03-04 Thread Darshana Padmadas
for ‘xen_start_kernel’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/xen/enlighten.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 78a881b..4061672 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen

[PATCH 16/16] arch: x86: xen: Mark internal functions static in setup.c

2015-03-04 Thread Darshana Padmadas
: no previous prototype for ‘xen_pvmmu_arch_setup’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/xen/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 865e56c..2b3f935 100644 --- a/arch/x86/xen

[PATCH 12/16] arch: x86: kernel: Add prototype for fixup_bad_iret in traps.c

2015-03-04 Thread Darshana Padmadas
: warning: no previous prototype for ‘fixup_bad_iret’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/kernel/traps.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index fb4cb6a..ab015cd 100644 --- a/arch/x86/kernel