From: Tony Lindgren <tony@atomide.com>
To: Balaji T K <balajitk@ti.com>
Cc: Chris Ball <cjb@laptop.org>, Venkatraman S <svenkatr@ti.com>,
linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org
Subject: Re: [PATCH] mmc: hsmmc: Fix NULL pointer dereference on unload when booted with device tree
Date: Mon, 12 Nov 2012 14:16:09 -0800 [thread overview]
Message-ID: <20121112221608.GS6801@atomide.com> (raw)
In-Reply-To: <50A0F78C.6030600@ti.com>
* Balaji T K <balajitk@ti.com> [121112 05:22]:
> On Friday 09 November 2012 11:55 PM, Tony Lindgren wrote:
> >When booting with device tree, we don't have any pdata, and will
> >get the following when trying to unload omap_hsmmc:
> >
> >Unable to handle kernel NULL pointer dereference at virtual address 00000044
> >pgd = edafc000
> >*pgd=adbbd831, *pte=00000000, *ppte=00000000
> >SMP ARM
> >Modules linked in: omap_hsmmc(-) omap_serial pinctrl_single
> >CPU: 1 Not tainted (3.7.0-rc4-00044-g8ca5f6a-dirty #245)
> >PC is at omap_hsmmc_gpio_free+0x8/0x3c [omap_hsmmc]
> >LR is at omap_hsmmc_remove+0xf0/0x174 [omap_hsmmc]
> <snip>
> >
> >Signed-off-by: Tony Lindgren <tony@atomide.com>
> >
> >---
> >
> >This is against v3.7-rc4, would be nice to get in during the -rc cycle.
> >
> Hi Tony,
>
> Got fixed by below commit, merged in rc5
>
> http://git.kernel.org/?p=linux/kernel/git/cjb/mmc.git;a=commit;h=9ea28ecbeb090159a3383ff60b29dee00c489774
OK thanks!
Tony
prev parent reply other threads:[~2012-11-12 22:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-09 18:25 [PATCH] mmc: hsmmc: Fix NULL pointer dereference on unload when booted with device tree Tony Lindgren
2012-11-12 13:20 ` Balaji T K
2012-11-12 22:16 ` Tony Lindgren [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=20121112221608.GS6801@atomide.com \
--to=tony@atomide.com \
--cc=balajitk@ti.com \
--cc=cjb@laptop.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=svenkatr@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).