On Thu, Aug 9, 2012 at 7:07 PM, Shubhrajyoti D <shubhrajyoti@xxxxxx> wrote:
> Prevent the NULL pointer access by moving the platform_set_drvdata function
> after the access of the pdev.
>
> [ 654.961761] Unable to handle kernel NULL pointer dereference at virtual address 00000070
> [ 654.970611] pgd = df254000
> [ 654.973480] [00000070] *pgd=9f1da831, *pte=00000000, *ppte=00000000
> [ 654.980163] Internal error: Oops: 17 [#1] SMP ARM
> [ 654.985076] Modules linked in:
> [ 654.988281] CPU: 1 Not tainted (3.6.0-rc1-00031-ge547de1-dirty #339)
> [ 654.995330] PC is at omap_i2c_runtime_resume+0x8/0x148
> [ 655.000732] LR is at omap_i2c_runtime_resume+0x8/0x148
>
> Signed-off-by: Shubhrajyoti D <shubhrajyoti@xxxxxx>
> ---
applies on top of Felipe's cleanup series.
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[LM Sensors]
[Linux USB Devel]
[Linux Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]