Re: [PATCH] mmc: hsmmc: Fix NULL pointer dereference on unload when booted with device tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Balaji T K <balajitk@xxxxxx> [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@xxxxxxxxxxx>
> >
> >---
> >
> >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 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux