[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120821.145452.1762302256533324265.davem@davemloft.net>
Date: Tue, 21 Aug 2012 14:54:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: miklos@...redi.hu
Cc: rjw@...k.pl, stern@...land.harvard.edu, hdegoede@...hat.com,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
linux-ide@...r.kernel.org
Subject: Re: [PATCH] ide: fix generic_ide_suspend/resume Oops
From: Miklos Szeredi <miklos@...redi.hu>
Date: Tue, 21 Aug 2012 17:20:30 +0200
> From: Miklos Szeredi <mszeredi@...e.cz>
>
> This patch fixes a regresion introduced by commit 0998d063 (device-core: Ensure
> drvdata = NULL when no driver is bound).
>
> Suspend oopses in generic_ide_suspend() because dev_get_drvdata()
> returns NULL (dev->p->driver_data == NULL) and this function is not
> prepared for this.
>
> Fix is based on Alan Stern's suggestion.
>
> Signed-off-by: Miklos Szeredi <mszeredi@...e.cz>
> Acked-by: Rafael J. Wysocki <rjw@...k.pl>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists