Re: Hang on suspend

From: Rafael J. Wysocki
Date: Sun Feb 24 2008 - 17:36:29 EST


[Please don't drop the CC list from replies.]

On Sunday, 24 of February 2008, Julian Blake Kongslie wrote:
> On Sun, 2008-02-24 at 12:23 +0100, Rafael J. Wysocki wrote:
> > Can you please check what's at the address platform_suspend_late+0x19?
>
> 0xc0253ca9 is in platform_suspend_late (drivers/base/platform.c:579).
> 574 {
> 575 struct platform_driver *drv = to_platform_driver(dev->driver);
> 576 struct platform_device *pdev;
> 577 int ret = 0;
> 578
> 579 pdev = container_of(dev, struct platform_device, dev);
> 580 if (dev->driver && drv->suspend_late)
> 581 ret = drv->suspend_late(pdev, mesg);
> 582
> 583 return ret;

That's strange, it looks like the container_of() accessing beyond the
structure.

Is this 100% reproducible?

Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/