[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] 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

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] udc:Make various functions have a return type of void in the file fsl_qe_udc.c

2015-06-27 Thread Nicholas Krause
intended internal function work. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/usb/gadget/udc/fsl_qe_udc.c | 36 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.c b/drivers/usb/gadget/udc

[PATCH] udc:Make the function txcomplete have a return type of void

2015-06-27 Thread Nicholas Krause
This makes the function txcomplete have a return type of void now due to this particular function always running successfully nor its callers checking/using the return value from this particular function in their own internal work. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers

[PATCH] freescale:Make receive and transmit functions have a return type of void

2015-07-07 Thread Nicholas Krause
This makes various receive and transmit functions that always run successfully to be declared to have a return of void for the driver file, ucc_geth.c. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/net/ethernet/freescale/ucc_geth.c | 12 +++- 1 file changed, 3 insertions

[PATCH] freescale:Make the function ucc_geth_tx have a return type of void

2015-07-07 Thread Nicholas Krause
This makes the function ucc_geth_tx have a return type of void now due to this particular function always completing without ever executing a non recoverable error. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/net/ethernet/freescale/ucc_geth.c | 3 +-- 1 file changed, 1

[PATCH] kvm:powerpc:Fix error handling in the function mpic_set_default_irq_routing

2015-08-07 Thread Nicholas Krause
returned by the call to mpic_set_default_irq_routing. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/powerpc/kvm/mpic.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index 6249cdc..7b1375a 100644 --- a/arch

[PATCH] kvm:powerpc:Fix error handling in the function mpic_set_default_irq_routing

2015-08-06 Thread Nicholas Krause
This fixes error handling in the function mpic_set_default_irq_routing by checking if the call to the function kvm_set_irq_routing has failed and if so exit immediately to the caller by returning the error code returned by the call to mpic_set_default_irq_routing. Signed-off-by: Nicholas Krause

[PATCH] kvm:powerpc:Fix incorrect return statement in the function mpic_set_default_irq_routing

2015-08-07 Thread Nicholas Krause
of mpic_set_default_irq_routing when the call to this particular function has failed. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/powerpc/kvm/mpic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index 6249cdc..b14b85a

[PATCH] kvm:powerpc:Fix return statements for wrapper functions in the file book3s_64_mmu_hv.c

2015-08-10 Thread Nicholas Krause
successfully by returning the value of zero directly. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/powerpc/kvm/book3s_64_mmu_hv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c

[PATCH RESEND] kvm:powerpc:Fix incorrect return statement in the function mpic_set_default_irq_routing

2016-01-11 Thread Nicholas Krause
of mpic_set_default_irq_routing when the call to this particular function has failed. Signed-off-by: Nicholas Krause <xerofo...@gmail.com> --- arch/powerpc/kvm/mpic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index 6

[PATCH RESEND] kvm:powerpc:Fix incorrect return statement in the function mpic_set_default_irq_routing

2016-02-17 Thread Nicholas Krause
of mpic_set_default_irq_routing when the call to this particular function has failed. Signed-off-by: Nicholas Krause <xerofo...@gmail.com> --- arch/powerpc/kvm/mpic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index 6

[PATCH] freescale:Make the function ucc_geth_tx have a return type of void

2016-03-06 Thread Nicholas Krause
This makes the function ucc_geth_tx have a return type of void now due to this particular function always completing without ever executing a non recoverable error. Signed-off-by: Nicholas Krause <xerofo...@gmail.com> --- drivers/net/ethernet/freescale/ucc_geth.c | 3 +-- 1 file chan