From: David Miller <davem@davemloft.net>
To: miklos@szeredi.hu
Cc: rjw@sisk.pl, stern@rowland.harvard.edu, hdegoede@redhat.com,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
linux-ide@vger.kernel.org
Subject: Re: [PATCH] ide: fix generic_ide_suspend/resume Oops
Date: Tue, 21 Aug 2012 14:54:52 -0700 (PDT) [thread overview]
Message-ID: <20120821.145452.1762302256533324265.davem@davemloft.net> (raw)
In-Reply-To: <87txvwgtkx.fsf@tucsk.pomaz.szeredi.hu>
From: Miklos Szeredi <miklos@szeredi.hu>
Date: Tue, 21 Aug 2012 17:20:30 +0200
> From: Miklos Szeredi <mszeredi@suse.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@suse.cz>
> Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Applied, thanks.
prev parent reply other threads:[~2012-08-21 21:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-21 15:20 [PATCH] ide: fix generic_ide_suspend/resume Oops Miklos Szeredi
2012-08-21 21:54 ` David Miller [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=20120821.145452.1762302256533324265.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=hdegoede@redhat.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=rjw@sisk.pl \
--cc=stern@rowland.harvard.edu \
/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).