From: Jeff Garzik <jeff@garzik.org>
To: Magnus Damm <magnus.damm@gmail.com>
Cc: linux-kernel@vger.kernel.org, Paul Mundt <lethal@linux-sh.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: pata_platform: Fix NULL pointer dereference
Date: Fri, 20 Jul 2007 07:46:58 -0400 [thread overview]
Message-ID: <46A0A0B2.2010902@garzik.org> (raw)
In-Reply-To: <20070720035058.25300.28389.sendpatchset@clockwork.opensource.se>
Magnus Damm wrote:
> pata_platform: Fix NULL pointer dereference
>
> pata_platform currently dereferences a NULL pointer in pata_platform_probe()
> if pdev->dev.platform_data is set to NULL. This breakage was most likely
> introduced by commit 5f45bc50976ee1f408f7171af155aec646655a37.
>
> Signed-off-by: Magnus Damm <damm@igel.co.jp>
> ---
>
> Tested on a Solution Engline 7722 board, fixes NULL dereference problem.
> Applies to linux-2.6 git 9a79b2274186fade17134929d4f85b70d59a3840
> Could someone please make sure this gets included in rc1?
>
> drivers/ata/pata_platform.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
applied
next prev parent reply other threads:[~2007-07-20 11:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070720035058.25300.28389.sendpatchset@clockwork.opensource.s e>
2007-07-20 3:50 ` pata_platform: Fix NULL pointer dereference Magnus Damm
2007-07-20 4:02 ` Paul Mundt
2007-07-20 11:46 ` Jeff Garzik [this message]
2007-07-20 16:12 ` Linus Torvalds
2007-07-21 15:46 ` Jan Engelhardt
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=46A0A0B2.2010902@garzik.org \
--to=jeff@garzik.org \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.