From: akpm@linux-foundation.org
To: agust@denx.de, grant.likely@secretlab.ca, gregkh@suse.de,
jcrigby@gmail.com, leonardo.lists@gmail.com,
mm-commits@vger.kernel.org
Subject: [merged] serial-mpc52xx_uart-fix-null-pointer-dereference.patch removed from -mm tree
Date: Fri, 07 May 2010 12:10:58 -0400 [thread overview]
Message-ID: <201005071912.o47JCSMS006475@imap1.linux-foundation.org> (raw)
The patch titled
serial: mpc52xx_uart: fix null pointer dereference
has been removed from the -mm tree. Its filename was
serial-mpc52xx_uart-fix-null-pointer-dereference.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: serial: mpc52xx_uart: fix null pointer dereference
From: Anatolij Gustschin <agust@denx.de>
Commit 6acc6833510db8f72b5ef343296d97480555fda9 ("serial: mpc52xx_uart:
re-enable mpc5121 PSC UART support") introduced a NULL pointer dereference
and kernel crash on ppc32 machines while booting. Fix this bug now.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reported-by: Leonardo Chiquitto <leonardo.lists@gmail.com>
Cc: John Rigby <jcrigby@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/serial/mpc52xx_uart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/serial/mpc52xx_uart.c~serial-mpc52xx_uart-fix-null-pointer-dereference drivers/serial/mpc52xx_uart.c
--- a/drivers/serial/mpc52xx_uart.c~serial-mpc52xx_uart-fix-null-pointer-dereference
+++ a/drivers/serial/mpc52xx_uart.c
@@ -1554,7 +1554,7 @@ mpc52xx_uart_init(void)
/*
* Map the PSC FIFO Controller and init if on MPC512x.
*/
- if (psc_ops->fifoc_init) {
+ if (psc_ops && psc_ops->fifoc_init) {
ret = psc_ops->fifoc_init();
if (ret)
return ret;
_
Patches currently in -mm which might be from agust@denx.de are
linux-next.patch
reply other threads:[~2010-05-07 19:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201005071912.o47JCSMS006475@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=agust@denx.de \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@suse.de \
--cc=jcrigby@gmail.com \
--cc=leonardo.lists@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox