[PATCH] TTY: hvcs: fix missing unlock on error in hvcs_initialize()

2012-10-21 Thread Wei Yongjun
From: Wei Yongjun Add the missing unlock on the error handling path in function hvcs_initialize(). Signed-off-by: Wei Yongjun --- drivers/tty/hvc/hvcs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index cab5c7a..744c3b8

RE: [PATCH 1/1] usb: gadget: Don't attempt to dequeue requests for a disabled USB endpoint on Freescale hardware

2012-10-21 Thread Li Yang-R58472
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Saturday, October 20, 2012 1:37 AM > To: Simon Haggett > Cc: Li Yang-R58472; Felipe Balbi; Greg Kroah-Hartman; linux- > u...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; linux- > ker...@vger.kernel.org; Laurent Pin

[PATCH] of/fdt: Don't copy garbage after "/" in root node path

2012-10-21 Thread Benjamin Herrenschmidt
The root node path must be internally converted to "/", or various pieces of code looking for it that way will fail. The code to do that however had a bug where we might incorrectly append pieces of the original path from the fdt to the "/". We should probably add a proper dedicated accessor for t

[PATCH] powerpc/powernv: Fix OPAL debug entry

2012-10-21 Thread Benjamin Herrenschmidt
OPAL provides the firmware base/entry in registers at boot time for debugging purposes. We had a bug in the code trying to stash these into the appropriate kernel globals (a line of code was probably dropped by accident back when this was merged) Signed-off-by: Benjamin Herrenschmidt --- arch/po

Re: ELDK 4.2/kilauea/3.5+ kernel broken

2012-10-21 Thread Benjamin Herrenschmidt
On Sun, 2012-10-21 at 18:35 +0300, Robert Berger wrote: > Hi, > > On 10/18/2012 10:03 PM, Benjamin Herrenschmidt wrote: > > > > Which looks correct. So this might be something specific to ELDK ? > > I just tried with the ELDK 5.2.1 and have exactly the same behavior as > with ELDK 4.2, so I gues

Re: ELDK 4.2/kilauea/3.5+ kernel broken

2012-10-21 Thread Robert Berger
Hi, On 10/18/2012 10:03 PM, Benjamin Herrenschmidt wrote: > > Which looks correct. So this might be something specific to ELDK ? I just tried with the ELDK 5.2.1 and have exactly the same behavior as with ELDK 4.2, so I guess there is something not correct in arch/powerpc/sysdev/ppc4xx_msi.c. J

Re: ELDK 4.2/kilauea/3.5+ kernel broken

2012-10-21 Thread Robert Berger
Hi, On 10/18/2012 10:03 PM, Benjamin Herrenschmidt wrote: > > Which looks correct. So this might be something specific to ELDK ? I just tried with the ELDK 5.2.1 and have exactly the same behavior as with ELDK 4.2, so I guess there is something not correct in arch/powerpc/sysdev/ppc4xx_msi.c. Ju

[PATCH 3/5] arch/powerpc/kernel/rtas_flash.c: eliminate possible double free

2012-10-21 Thread Julia Lawall
From: Julia Lawall The function initialize_flash_pde_data is only called four times. All four calls are in the function rtas_flash_init, and on the failure of any of the calls, remove_flash_pde is called on the third argument of each of the calls. There is thus no need for initialize_flash_pde_

Re: [PATCH v3 0/7] mv643xx.c: Add basic device tree support.

2012-10-21 Thread Jason Cooper
Pong. ;-) On Tue, Sep 11, 2012 at 04:03:31PM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2012-09-10 at 14:22 +, Arnd Bergmann wrote: > > Following up on the old discussion, I talked briefly about this > > issue with BenH at the kernel summit. The outcome basically is that > > it's a bit sa