[PATCH 1/2] serial: PL011: Repair NULL pointer dereference

Linus Walleij linus.walleij at linaro.org
Mon Apr 9 13:54:02 EDT 2012


On Mon, Apr 2, 2012 at 4:31 PM, Lee Jones <lee.jones at linaro.org> wrote:

> The pl011 driver attempts to mask and clear UART interrupts
> at probe time, which subsequently fail with a NULL pointer
> dereference error. This is due to 'uap->port.membase' being
> used uninitialised. This patch moves the offending lines
> to a point of post-initialisation.
>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

A fix for this was sent out on march 21st:
http://marc.info/?l=linux-serial&m=133235774423240&w=2

This is something like the third or fourth patch solving the
problem :-)

We are just waiting for Greg to pick it up and push upstream
for the -rc:s.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list