All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
	Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	stable@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [stable] [PATCH v2] pch_phub: Don't oops if dmi_get_system_info returns NULL
Date: Thu, 16 Jun 2011 07:34:59 -0700	[thread overview]
Message-ID: <20110616143459.GA28928@kroah.com> (raw)
In-Reply-To: <1308207924-14181-1-git-send-email-alexander.stein@systec-electronic.com>

On Thu, Jun 16, 2011 at 09:05:24AM +0200, Alexander Stein wrote:
> If dmi_get_system_info() returns NULL, pch_phub_probe() will
> dereferencea a zero pointer.
> 
> This oops was observed on an Atom based board which has no BIOS, but
> a bootloder which doesn't privde DMI data.
> 
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> ---
> Changes in v2:
> * Adjust summary
> * Commit message is more verbose
> 
>  drivers/misc/pch_phub.c |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>

      reply	other threads:[~2011-06-16 14:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01  6:44 [PATCH] pch_phub: Don't panic if dmi_get_system_info returns NULL Alexander Stein
2011-06-16  7:05 ` [PATCH v2] pch_phub: Don't oops " Alexander Stein
2011-06-16 14:34   ` Greg KH [this message]

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=20110616143459.GA28928@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@linux-foundation.org \
    --cc=alexander.stein@systec-electronic.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=tomoya-linux@dsn.okisemi.com \
    /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.