Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: jason@lakedaemon.net (Jason Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mvebu: Fix kernel hang in mvebu_soc_id_init() when of_iomap failed
Date: Mon, 20 Jan 2014 15:16:21 -0500	[thread overview]
Message-ID: <20140120201621.GX29184@titan.lakedaemon.net> (raw)
In-Reply-To: <1390229990-26450-1-git-send-email-gregory.clement@free-electrons.com>

On Mon, Jan 20, 2014 at 03:59:50PM +0100, Gregory CLEMENT wrote:
> When pci_base is accessed whereas it has not been properly mapped by
> of_iomap() the kernel hang. The check of this pointer made an improper
> use of IS_ERR() instead of comparing to NULL. This patch fix this
> issue.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
> Jason,
> 
> As this is a fix on a fix which should be ported to the stable branch, I
> don't know how to handle the cc:stable flag

No problem, I added it.

>  arch/arm/mach-mvebu/mvebu-soc-id.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to mvebu/fixes.

thx,

Jason.

      reply	other threads:[~2014-01-20 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 14:59 [PATCH] ARM: mvebu: Fix kernel hang in mvebu_soc_id_init() when of_iomap failed Gregory CLEMENT
2014-01-20 20:16 ` Jason Cooper [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=20140120201621.GX29184@titan.lakedaemon.net \
    --to=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.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