[PATCH 1/5] alpha: checkpatch gives errors and warnings in bootp.c

2014-07-14 Thread Nicholas Krause
When running checkpatch on this file I get lots of warnings and even a few errors. This patch cleans up the coding style warning I get on line 26. --- arch/alpha/boot/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c

[PATCH 5/5] alpha: Cleanpatch Remove Errors

2014-07-14 Thread Nicholas Krause
This patch removes errors on lines 205,206 to fit kernel coding style. --- arch/alpha/boot/bootp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c index 47e33cb..ac0351d 100644 --- a/arch/alpha/boot/bootp.c +++

[PATCH 4/5] alpha: Fix if statment in bootp.c

2014-07-14 Thread Nicholas Krause
This patch fixes the if statement on line 180 to be changed to having no brackets as defined by kernel coding style for one line if statements. --- arch/alpha/boot/bootp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c index

[PATCH] title: no lookup_page for if statement

2014-07-14 Thread Nicholas Krause
This patch removes the if define statement for page_lookup in order to remove a fix me of this not being defined as of yet. Signed-off-by: Nicholas Krause --- 0001-title-no-lookup_page-for-if-statement.patch | 37 1 file changed, 37 insertions(+) create mode 100644

[PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Nicholas Krause
This patch addresses the fix me message in this file that states to remove all definitions not related to reg-clocks in this header file. Signed-off-by: Nicholas Krause --- arch/arm/mach-s3c64xx/include/mach/regs-clock.h | 22 +- 1 file changed, 1 insertion(+), 21 deletions

[PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-14 Thread Nicholas Krause
This fixes the latency for the cpufreq policy to 1 million nanoseconds that calls the function pxa_cpu_init for the member of the structure called cpuinfo.transition_latency. Signed-off-by: Nicholas Krause --- drivers/cpufreq/pxa2xx-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-14 Thread Nicholas Krause
This fixes the latency for the cpufreq policy to 1 million nanoseconds that calls the function pxa_cpu_init for the member of the structure called cpuinfo.transition_latency. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/cpufreq/pxa2xx-cpufreq.c | 2 +- 1 file changed, 1

[PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Nicholas Krause
This patch addresses the fix me message in this file that states to remove all definitions not related to reg-clocks in this header file. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/arm/mach-s3c64xx/include/mach/regs-clock.h | 22 +- 1 file changed, 1

[PATCH] title: no lookup_page for if statement

2014-07-14 Thread Nicholas Krause
This patch removes the if define statement for page_lookup in order to remove a fix me of this not being defined as of yet. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- 0001-title-no-lookup_page-for-if-statement.patch | 37 1 file changed, 37 insertions

[PATCH 1/5] alpha: checkpatch gives errors and warnings in bootp.c

2014-07-14 Thread Nicholas Krause
When running checkpatch on this file I get lots of warnings and even a few errors. This patch cleans up the coding style warning I get on line 26. --- arch/alpha/boot/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c

[PATCH 5/5] alpha: Cleanpatch Remove Errors

2014-07-14 Thread Nicholas Krause
This patch removes errors on lines 205,206 to fit kernel coding style. --- arch/alpha/boot/bootp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c index 47e33cb..ac0351d 100644 --- a/arch/alpha/boot/bootp.c +++

[PATCH 4/5] alpha: Fix if statment in bootp.c

2014-07-14 Thread Nicholas Krause
This patch fixes the if statement on line 180 to be changed to having no brackets as defined by kernel coding style for one line if statements. --- arch/alpha/boot/bootp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c index

[PATCH 2/5] alpha: Checkpatch warnings on lines 71 and 72

2014-07-14 Thread Nicholas Krause
In bootp.c I am hitting lots of warnings this fixes two on lines 71,72 in order to pass checkpatch and follow kernel coding style. --- arch/alpha/boot/bootp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c index

[PATCH 3/5] alpha: Remove whitespace issues and turn spaces into tabs

2014-07-14 Thread Nicholas Krause
This patch removes all the whitespace an tab issues that this file has when running checkpatch --- arch/alpha/boot/bootp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c index 3ee529d..6227e4f 100644 ---

[PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-13 Thread Nicholas Krause
This fixes the latency for the cpufreq policy to 1 million nanoseconds that calls the function pxa_cpu_init for the member of the structure called cpuinfo.transition_latency. Signed-off-by: Nicholas Krause --- drivers/cpufreq/pxa2xx-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-13 Thread Nicholas Krause
This fixes the latency for the cpufreq policy to 1 million nanoseconds that calls the function pxa_cpu_init for the member of the structure called cpuinfo.transition_latency. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/cpufreq/pxa2xx-cpufreq.c | 2 +- 1 file changed, 1

[PATCH] Removes FIXME message in usb.c

2014-07-09 Thread Nicholas Krause
This patch removes a fixme message in this file for setting the usb 2 speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be shared for the other things on the board with the usb chipset. Signed-off-by: Nicholas Krause --- arch/arm/mach

[PATCH] Removes FIXME message in usb.c

2014-07-09 Thread Nicholas Krause
This patch removes a fixme message in this file for setting the usb 2 speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be shared for the other things on the board with the usb chipset. Signed-off-by: Nicholas Krause xerofo...@gmail.com

[PATCH] Removes FIXME message in usb.c

2014-07-08 Thread Nicholas Krause
This patch removes a fixme message in this file:wq for setting the usb 2 speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be shared for the other things on the board with the usb chipset. Signed-off-by: Nicholas Krause --- arch/arm

[PATCH] Removes FIXME message in usb.c

2014-07-08 Thread Nicholas Krause
This patch removes a fixme message in this file:wq for setting the usb 2 speed on the board to the correct level. We need to depend on the bootloader for doing this as the wires may be shared for the other things on the board with the usb chipset. Signed-off-by: Nicholas Krause xerofo

powerpc allyesconfig fix

2014-07-07 Thread Nicholas Krause
powerpc:allmodconfig has been failing for some time with the following error. arch/powerpc/kernel/exceptions-64s.S: Assembler messages: arch/powerpc/kernel/exceptions-64s.S:1312: Error: attempt to move .org backwards make[1]: *** [arch/powerpc/kernel/head_64.o] Error 1 A number of attempts to

powerpc allyesconfig fix

2014-07-07 Thread Nicholas Krause
powerpc:allmodconfig has been failing for some time with the following error. arch/powerpc/kernel/exceptions-64s.S: Assembler messages: arch/powerpc/kernel/exceptions-64s.S:1312: Error: attempt to move .org backwards make[1]: *** [arch/powerpc/kernel/head_64.o] Error 1 A number of attempts to

[PATCH] tile: Add underscores to defintions

2014-07-04 Thread Nicholas Krause
In file drv_xgbe_impl.h I fixed the definitions for Size Small, Size Large, Size Jumbo to have underscores before and after to follow kernel coding style for internel defentions. Signed-off-by: Nicholas Krause --- arch/tile/include/hv/drv_xgbe_impl.h | 15 +++ 1 file changed, 3

[PATCH] parisc: Remove FIXME line in signal.c

2014-07-04 Thread Nicholas Krause
This frame removes a fix me line in signal.c that is no longer needed as function call is correct. Signed-off-by: Nicholas Krause --- arch/parisc/kernel/signal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index 1cba8f2..1d550b5

[PATCH] parisc: Remove sizeof(frame) from call to get_sigframe

2014-07-04 Thread Nicholas Krause
This removes the sizeof(frame) from the call to get_sigframe on line 243 in order to fix the call to this function as the sizeof in not needed to call this function. Signed-off-by: Nicholas Krause --- arch/parisc/kernel/signal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[PATCH] mips: Add #ifdef in file bridge.h

2014-07-04 Thread Nicholas Krause
This patch addes a #ifdef __ASSEMBLY__ in order to check if this part of the file is configured to fix this #ifdef block in bridge.h for mips. Signed-off-by: Nicholas Krause --- arch/mips/include/asm/netlogic/xlp-hal/bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] mach-omap2: Change if statement in omap2_dflt_clk_enable

2014-07-04 Thread Nicholas Krause
. Signed-off-by: Nicholas Krause --- arch/arm/mach-omap2/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 591581a..626363d 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c @@ -379,7

[PATCH] mach-omap1: Fix call to omap_cfg_reg

2014-07-04 Thread Nicholas Krause
This patch fixes the call to ompa_cfg_reg(USB2_SPEED) in the case that the cpu is a omap16xx and the nwires are not equal to 3. Signed-off-by: Nicholas Krause --- arch/arm/mach-omap1/usb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-omap1/usb.c b/arch/arm

[PATCH] m32r: subtract textlen instead of adding in function m32r_flat_get_addr_from_rp

2014-07-04 Thread Nicholas Krause
This patch fixes the message stating in this function to substract textlen for return value of case FLAT_M32R_LO16_DATA in the switch statement for this function. Signed-off-by: Nicholas Krause --- arch/m32r/include/asm/flat.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff

[PATCH] m68k: Remove define statement no longer needed

2014-07-04 Thread Nicholas Krause
In the file sun3_pgalloc.h we should remove #define_KERNPG_TABLE equals 0 as this define statement hasn't been used since kernel verison 2.15.8 and is now no longer needed. Signed-off-by: Nicholas Krause --- arch/m68k/include/asm/sun3_pgalloc.h | 4 1 file changed, 4 deletions(-) diff

[PATCH] mach-omap2: Change if statement in omap2_dflt_clk_enable

2014-07-04 Thread Nicholas Krause
. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/arm/mach-omap2/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 591581a..626363d 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2

[PATCH] mips: Add #ifdef in file bridge.h

2014-07-04 Thread Nicholas Krause
This patch addes a #ifdef __ASSEMBLY__ in order to check if this part of the file is configured to fix this #ifdef block in bridge.h for mips. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/mips/include/asm/netlogic/xlp-hal/bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] parisc: Remove sizeof(frame) from call to get_sigframe

2014-07-04 Thread Nicholas Krause
This removes the sizeof(frame) from the call to get_sigframe on line 243 in order to fix the call to this function as the sizeof in not needed to call this function. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/parisc/kernel/signal.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH] parisc: Remove FIXME line in signal.c

2014-07-04 Thread Nicholas Krause
This frame removes a fix me line in signal.c that is no longer needed as function call is correct. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/parisc/kernel/signal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index

[PATCH] tile: Add underscores to defintions

2014-07-04 Thread Nicholas Krause
In file drv_xgbe_impl.h I fixed the definitions for Size Small, Size Large, Size Jumbo to have underscores before and after to follow kernel coding style for internel defentions. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/tile/include/hv/drv_xgbe_impl.h | 15 +++ 1

[PATCH] m68k: Remove define statement no longer needed

2014-07-04 Thread Nicholas Krause
In the file sun3_pgalloc.h we should remove #define_KERNPG_TABLE equals 0 as this define statement hasn't been used since kernel verison 2.15.8 and is now no longer needed. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/m68k/include/asm/sun3_pgalloc.h | 4 1 file changed, 4

[PATCH] m32r: subtract textlen instead of adding in function m32r_flat_get_addr_from_rp

2014-07-04 Thread Nicholas Krause
This patch fixes the message stating in this function to substract textlen for return value of case FLAT_M32R_LO16_DATA in the switch statement for this function. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/m32r/include/asm/flat.h | 4 +--- 1 file changed, 1 insertion(+), 3

[PATCH] mach-omap1: Fix call to omap_cfg_reg

2014-07-04 Thread Nicholas Krause
This patch fixes the call to ompa_cfg_reg(USB2_SPEED) in the case that the cpu is a omap16xx and the nwires are not equal to 3. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/arm/mach-omap1/usb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach

[PATCH] microblaze: fixes includes in sigcontext.h

2014-07-03 Thread Nicholas Krause
This patch changes this file to use linux/ptrace.h instead of included file to fix this FIXME message in this file. Signed-off-by: Nicholas Krause --- arch/microblaze/include/uapi/asm/sigcontext.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/microblaze/include/uapi

[PATCH] alpha: Remove FIXME in file osf_sys.c

2014-07-03 Thread Nicholas Krause
Removes the FIXME message on line 891 for info.si_addr being NULL as according to alpha devolopers there is no good work around as of newest kernel verisons Signed-off-by: Nicholas Krause --- arch/alpha/kernel/osf_sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

[PATCH] alpha: Remove FIXME in file osf_sys.c

2014-07-03 Thread Nicholas Krause
Removes the FIXME message on line 891 for info.si_addr being NULL as according to alpha devolopers there is no good work around as of newest kernel verisons Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/alpha/kernel/osf_sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] microblaze: fixes includes in sigcontext.h

2014-07-03 Thread Nicholas Krause
This patch changes this file to use linux/ptrace.h instead of included file to fix this FIXME message in this file. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/microblaze/include/uapi/asm/sigcontext.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch

[PATCH 2/2] mach-spear: fixed spear1340.c file

2014-07-02 Thread Nicholas Krause
This is the fixed file after moving sata support to new file in spear1340_sata.c Signed-off-by: Nicholas Krause --- arch/arm/mach-spear/spear1340.c | 111 1 file changed, 111 deletions(-) diff --git a/arch/arm/mach-spear/spear1340.c b/arch/arm/mach

[PATCH 1/2] mach-spear: New file for 1340 for sata support

2014-07-02 Thread Nicholas Krause
Moves all sata support for mach-spear 1340 to new file called spear1340_sata.c as wanted in FIXME message. Signed-off-by: Nicholas Krause --- arch/arm/mach-spear/spear1340_sata.c | 120 +++ 1 file changed, 120 insertions(+) create mode 100644 arch/arm/mach-spear

[PATCH] M32Rz: FIXME add textlen in function m32r_flat_get_addr_from_rp

2014-07-02 Thread Nicholas Krause
This patch adds textlen in this function for case FLAT_M32R_LO16_DATA in the return statement verus subtracting it in order to fix this FIXME message. Signed-off-by: Nicholas Krause --- arch/m32r/include/asm/flat.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/m32r/include/asm

[PATCH] m68k: Remove FIXME comment in file sun3_pgalloc.h

2014-07-02 Thread Nicholas Krause
Removes a FIXME comment in this file due to it not compiling as it now compiles. Signed-off-by: Nicholas Krause --- arch/m68k/include/asm/sun3_pgalloc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/m68k/include/asm/sun3_pgalloc.h b/arch/m68k/include/asm/sun3_pgalloc.h index f868506

[PATCH] omap16xx: Removes fixme no longer needed in ocpi_enable()

2014-07-02 Thread Nicholas Krause
This removes the FIXME message above ocpi_enable being declared for proper locking in this function. As of the current kernel verisons there is no need for locking as only one driver uses this function currently and therefore there is no need for real locking requirements. Signed-off-by: Nicholas

[PATCH] omap16xx: Removes fixme no longer needed in ocpi_enable()

2014-07-02 Thread Nicholas Krause
This removes the FIXME message above ocpi_enable being declared for proper locking in this function. As of the current kernel verisons there is no need for locking as only one driver uses this function currently and therefore there is no need for real locking requirements. Signed-off-by: Nicholas

[PATCH] m68k: Remove FIXME comment in file sun3_pgalloc.h

2014-07-02 Thread Nicholas Krause
Removes a FIXME comment in this file due to it not compiling as it now compiles. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/m68k/include/asm/sun3_pgalloc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/m68k/include/asm/sun3_pgalloc.h b/arch/m68k/include/asm

[PATCH] M32Rz: FIXME add textlen in function m32r_flat_get_addr_from_rp

2014-07-02 Thread Nicholas Krause
This patch adds textlen in this function for case FLAT_M32R_LO16_DATA in the return statement verus subtracting it in order to fix this FIXME message. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/m32r/include/asm/flat.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch

[PATCH 1/2] mach-spear: New file for 1340 for sata support

2014-07-02 Thread Nicholas Krause
Moves all sata support for mach-spear 1340 to new file called spear1340_sata.c as wanted in FIXME message. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/arm/mach-spear/spear1340_sata.c | 120 +++ 1 file changed, 120 insertions(+) create mode 100644

[PATCH 2/2] mach-spear: fixed spear1340.c file

2014-07-02 Thread Nicholas Krause
This is the fixed file after moving sata support to new file in spear1340_sata.c Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/arm/mach-spear/spear1340.c | 111 1 file changed, 111 deletions(-) diff --git a/arch/arm/mach-spear/spear1340.c b

[PATCH 1/2] Deletes arch/arm/mach-gemini/idle.c

2014-06-30 Thread Nicholas Krause
removing it. Signed-off-by: Nicholas Krause --- arch/arm/mach-gemini/idle.c | 30 -- 1 file changed, 30 deletions(-) delete mode 100644 arch/arm/mach-gemini/idle.c diff --git a/arch/arm/mach-gemini/idle.c b/arch/arm/mach-gemini/idle.c deleted file mode 100644 index 2880f5a

[PATCH] Remove memory start and memory end

2014-06-30 Thread Nicholas Krause
This patch removes the uneeded variables memory start and memory stated in FIXME message before declaring this variables as extern unsigned longs. Signed-off-by: Nicholas Krause --- arch/avr32/include/asm/page.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/avr32/include/asm/page.h

[PATCH] Remove FIXME messages in arch/powerpc/sysdev/uic.c

2014-06-30 Thread Nicholas Krause
This removes FIXME messages in the function uic_init_one as this FIXMEs are not valid due to the kernel being better to panic due to boards without these allocated not being able to service IRQs. Signed-off-by: Nicholas Krause --- arch/powerpc/sysdev/uic.c | 4 ++-- 1 file changed, 2 insertions

[PATCH] Remove FIXME messages in arch/powerpc/sysdev/uic.c

2014-06-30 Thread Nicholas Krause
This removes FIXME messages in the function uic_init_one as this FIXMEs are not valid due to the kernel being better to panic due to boards without these allocated not being able to service IRQs. Signed-off-by: Nicholas Krause --- arch/powerpc/sysdev/uic.c | 4 ++-- 1 file changed, 2 insertions

[PATCH v2] hid-appleir: Fix kernel panic due to null pointer

2014-06-30 Thread Nicholas Krause
Fixes a null pointer in appleir_input_configured due to reading into wrong size array. Changed the variable to input_dev->keycodemax. Signed-off-by: Nicholas Krause --- drivers/hid/hid-appleir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-appleir.

[PATCH v2] hid-appleir: Fix kernel panic due to null pointer

2014-06-30 Thread Nicholas Krause
Fixes a null pointer in appleir_input_configured due to reading into wrong size array. Changed the variable to input_dev-keycodemax. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/hid/hid-appleir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid

[PATCH] Remove FIXME messages in arch/powerpc/sysdev/uic.c

2014-06-30 Thread Nicholas Krause
This removes FIXME messages in the function uic_init_one as this FIXMEs are not valid due to the kernel being better to panic due to boards without these allocated not being able to service IRQs. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/powerpc/sysdev/uic.c | 4 ++-- 1 file

[PATCH] Remove FIXME messages in arch/powerpc/sysdev/uic.c

2014-06-30 Thread Nicholas Krause
This removes FIXME messages in the function uic_init_one as this FIXMEs are not valid due to the kernel being better to panic due to boards without these allocated not being able to service IRQs. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/powerpc/sysdev/uic.c | 4 ++-- 1 file

[PATCH] Remove memory start and memory end

2014-06-30 Thread Nicholas Krause
This patch removes the uneeded variables memory start and memory stated in FIXME message before declaring this variables as extern unsigned longs. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/avr32/include/asm/page.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/avr32

[PATCH 1/2] Deletes arch/arm/mach-gemini/idle.c

2014-06-30 Thread Nicholas Krause
removing it. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/arm/mach-gemini/idle.c | 30 -- 1 file changed, 30 deletions(-) delete mode 100644 arch/arm/mach-gemini/idle.c diff --git a/arch/arm/mach-gemini/idle.c b/arch/arm/mach-gemini/idle.c deleted file mode

[PATCH] Fixes return issues in uic_init_one

2014-06-29 Thread Nicholas Krause
This patch fixes the FIXME messages for returning a ENOMEM error if uic is not allocated and if uic->irqhost is not allocated a IRQ domain that is linear returns EIO. Signed-off-by: Nicholas Krause --- arch/powerpc/sysdev/uic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

[PATCH] Fixes q40_irq_startup to return -ENXIO

2014-06-29 Thread Nicholas Krause
Fixes q40_irq_startup to return -ENXIO for cases 11-13 in the switch statement of this function to handle these failure cases. Signed-off-by: Nicholas Krause --- arch/m68k/q40/q40ints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40

[PATCH] Fixes gemmi_idle in file idle.c

2014-06-29 Thread Nicholas Krause
disables the IRQ line in gemmi_idle before calling cpu_do_idle. In addition, according to the Fixme message in this file fixes races that may occur due to not disabling the IRQ before calling cpu_do_idle. Signed-off-by: Nicholas Krause --- arch/arm/mach-gemini/idle.c | 3 +-- 1 file changed, 1

[PATCH] Fixes gemmi_idle in file idle.c

2014-06-29 Thread Nicholas Krause
disables the IRQ line in gemmi_idle before calling cpu_do_idle. In addition, according to the Fixme message in this file fixes races that may occur due to not disabling the IRQ before calling cpu_do_idle. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/arm/mach-gemini/idle.c | 3

[PATCH] Fixes q40_irq_startup to return -ENXIO

2014-06-29 Thread Nicholas Krause
Fixes q40_irq_startup to return -ENXIO for cases 11-13 in the switch statement of this function to handle these failure cases. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/m68k/q40/q40ints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/q40

[PATCH] Fixes return issues in uic_init_one

2014-06-29 Thread Nicholas Krause
This patch fixes the FIXME messages for returning a ENOMEM error if uic is not allocated and if uic-irqhost is not allocated a IRQ domain that is linear returns EIO. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/powerpc/sysdev/uic.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] FIXME of file toploogy.h for alpha cpus

2014-06-27 Thread Nicholas Krause
This patch fixs the FIXME message in the function *cpumask_of_node for using this function multiple times and the issue with recaluting the cpu node mask when reusing this function. Signed-off-by: Nicholas Krause --- arch/alpha/include/asm/topology.h | 3 +++ 1 file changed, 3 insertions

[PATCH] FIXME of file toploogy.h for alpha cpus

2014-06-27 Thread Nicholas Krause
This patch fixs the FIXME message in the function *cpumask_of_node for using this function multiple times and the issue with recaluting the cpu node mask when reusing this function. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/alpha/include/asm/topology.h | 3 +++ 1 file changed

[PATCH] staging:rtl8821ae: rewrite legacy wifi check in halbcoutsrc

2014-06-20 Thread Nicholas Krause
Rewrites the wireless check for legacy checking in function halbtc_legacy to check for both Mode A and B. Signed-off-by: Nicholas Krause --- drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8821ae/btcoexist

[PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-20 Thread Nicholas Krause
Checks for Null return from dev_skb_alloc if it returns Null, fw_download returns false. Otherwise it returns true.Also removed rt_status due to returning true of false directly. Signed-off-by: Nicholas Krause --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 7 --- 1 file changed

[PATCH] Fixes kernel panic with Null pointer in hid-appleir.c

2014-06-20 Thread Nicholas Krause
In for loop of function appleir_input_configured we hit a Null pointer after the for loop due to array_size not being correct needs to be changed to input_dev->keycodemax. Signed-off-by: Nicholas Krause --- drivers/hid/hid-appleir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH] Fixes kernel panic with Null pointer in hid-appleir.c

2014-06-20 Thread Nicholas Krause
In for loop of function appleir_input_configured we hit a Null pointer after the for loop due to array_size not being correct needs to be changed to input_dev-keycodemax. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/hid/hid-appleir.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-20 Thread Nicholas Krause
Checks for Null return from dev_skb_alloc if it returns Null, fw_download returns false. Otherwise it returns true.Also removed rt_status due to returning true of false directly. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 7

[PATCH] staging:rtl8821ae: rewrite legacy wifi check in halbcoutsrc

2014-06-20 Thread Nicholas Krause
Rewrites the wireless check for legacy checking in function halbtc_legacy to check for both Mode A and B. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging

[PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-19 Thread Nicholas Krause
Checks for Null return from dev_skb_alloc if it returns Null, fw_download returns false. Otherwise it returns true.Also removed rt_status due to returning true of false directly. Signed-off-by: Nicholas Krause --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 7 --- 1 file changed

[PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-19 Thread Nicholas Krause
Checks for Null return from dev_skb_alloc if it returns Null, fw_download returns false. Otherwise it returns true.Also removed rt_status due to returning true of false directly. Signed-off-by: Nicholas Krause --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 7 --- 1 file changed

[PATCH] staging: rtl8192e: check return value of dev_skb_alloc

2014-06-19 Thread Nicholas Krause
--- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..d8a9427 100644 ---

[PATCH] Checks if dev_skb_alloc returns Null in function,

2014-06-19 Thread Nicholas Krause
--- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..d8a9427 100644 ---

[PATCH] Checks if dev_skb_alloc returns Null in function,

2014-06-19 Thread Nicholas Krause
--- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..d8a9427 100644 ---

[PATCH] staging: rtl8192e: check return value of dev_skb_alloc

2014-06-19 Thread Nicholas Krause
--- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..d8a9427 100644 ---

[PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-19 Thread Nicholas Krause
Checks for Null return from dev_skb_alloc if it returns Null, fw_download returns false. Otherwise it returns true.Also removed rt_status due to returning true of false directly. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 7

[PATCH] staging: rtl8192 Check for Null return from dev_skb_alloc

2014-06-19 Thread Nicholas Krause
Checks for Null return from dev_skb_alloc if it returns Null, fw_download returns false. Otherwise it returns true.Also removed rt_status due to returning true of false directly. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 7

[PATCH] staging: rtl8192e: check return value of dev_skb_alloc

2014-06-18 Thread Nicholas Krause
Checks if dev_skb_alloc returns Null in function, fw_download_code. If the return value of dev_skb_alloc is NULL return false and exit this function. Signed-off-by: Nicholas Krause --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCHv4]staging:rtl8192e: check return value of dev_skb_alloc

2014-06-18 Thread Nicholas Krause
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..1a90546 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -61,6 +61,10 @@ static bool

[PATCH 1/2] Fixes no Null check of dev_skb_alloc in fw_download_code

2014-06-18 Thread Nicholas Krause
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..1a90546 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -61,6 +61,10 @@ static bool

[PATCHv2]staging:rtl8192e:check return value of dev_skb_alloc

2014-06-18 Thread Nicholas Krause
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 11e915e..fde17ff 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -62,12 +62,15 @@ static bool

[PATCH] Fixes no Null check of dev_skb_alloc in fw_download_code

2014-06-18 Thread Nicholas Krause
Signed-off-by: Nicholas Krause --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..1a90546 100644 --- a/drivers

[PATCH] Check for Null return of function of affs_bread in function affs_truncate

2014-06-18 Thread Nicholas Krause
Signed-off-by: Nicholas Krause --- fs/affs/file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/affs/file.c b/fs/affs/file.c index a7fe57d..f26482d 100644 --- a/fs/affs/file.c +++ b/fs/affs/file.c @@ -923,6 +923,8 @@ affs_truncate(struct inode *inode) while (ext_key

[PATCH] Fixes no Null check of dev_skb_alloc in fw_download_code

2014-06-18 Thread Nicholas Krause
Signed-off-by: Nicholas Krause --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..1a90546 100644 --- a/drivers

[PATCH] Checks for Null return of skb_alloc in function fw_download_code

2014-06-18 Thread Nicholas Krause
Signed-off-by: Nicholas Krause --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 11e915e..fde17ff 100644

[PATCH] Checks for Null return of skb_alloc in function fw_download_code

2014-06-18 Thread Nicholas Krause
Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index

[PATCH] Fixes no Null check of dev_skb_alloc in fw_download_code

2014-06-18 Thread Nicholas Krause
Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..1a90546

[PATCH] Check for Null return of function of affs_bread in function affs_truncate

2014-06-18 Thread Nicholas Krause
Signed-off-by: Nicholas Krause xerofo...@gmail.com --- fs/affs/file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/affs/file.c b/fs/affs/file.c index a7fe57d..f26482d 100644 --- a/fs/affs/file.c +++ b/fs/affs/file.c @@ -923,6 +923,8 @@ affs_truncate(struct inode *inode

[PATCH] Fixes no Null check of dev_skb_alloc in fw_download_code

2014-06-18 Thread Nicholas Krause
Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..1a90546

[PATCHv2]staging:rtl8192e:check return value of dev_skb_alloc

2014-06-18 Thread Nicholas Krause
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 11e915e..fde17ff 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -62,12 +62,15 @@ static bool

[PATCH 1/2] Fixes no Null check of dev_skb_alloc in fw_download_code

2014-06-18 Thread Nicholas Krause
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..1a90546 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -61,6 +61,10 @@ static bool

[PATCHv4]staging:rtl8192e: check return value of dev_skb_alloc

2014-06-18 Thread Nicholas Krause
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 1a95d1f..1a90546 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -61,6 +61,10 @@ static bool

[PATCH] staging: rtl8192e: check return value of dev_skb_alloc

2014-06-18 Thread Nicholas Krause
Checks if dev_skb_alloc returns Null in function, fw_download_code. If the return value of dev_skb_alloc is NULL return false and exit this function. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 2 ++ 1 file changed, 2 insertions

<    1   2   3   >