Thread (3 messages) 3 messages, 2 authors, 2013-05-15

[PATCH] serial: pl011: protect attribute read from NULL platform data struct

From: Lee Jones <hidden>
Date: 2013-05-15 09:23:29
Also in: linux-serial, lkml

On Mon, 13 May 2013, Linus Walleij wrote:
On Thu, May 9, 2013 at 2:50 PM, Lee Jones [off-list ref] wrote:
quoted
It's completely feasible that platform data will be empty i.e. when
booting with Device Tree with no device AUXDATA. So we must protect
it's use in these use-cases, or risk a kernel Oops.

Cc: Russell King <redacted>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <redacted>
Cc: linux-serial at vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <redacted>
---
*******                                                        *******
If this issue has not already been fixed, this patch should be applied
during the v3.10 -rc:s, as it fixes a serious bug which was introduced
in the merge-window.
*******                                                        *******
Reviewed-by: Linus Walleij <redacted>

You should probably put Greg on To: so that he picks this up for
the -rc:s ASAP.
I spoke with Greg yesterday. He's catching up on mail.

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help