public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: Magnus Damm <magnus.damm@gmail.com>
Cc: linux-kernel@vger.kernel.org, Jeff Garzik <jeff@garzik.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: pata_platform: Fix NULL pointer dereference
Date: Fri, 20 Jul 2007 13:02:51 +0900	[thread overview]
Message-ID: <20070720040251.GA23758@linux-sh.org> (raw)
In-Reply-To: <20070720035058.25300.28389.sendpatchset@clockwork.opensource.se>

On Fri, Jul 20, 2007 at 12:50:58PM +0900, 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>

Without this, most of the sh and ppc pata_platform users won't boot.

Acked-by: Paul Mundt <lethal@linux-sh.org>

  reply	other threads:[~2007-07-20  4:03 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 [this message]
2007-07-20 11:46   ` Jeff Garzik
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=20070720040251.GA23758@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=jeff@garzik.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox