From: Randy Dunlap <randy.dunlap@oracle.com>
To: David Rientjes <rientjes@google.com>
Cc: David Brownell <david-b@pacbell.net>, linux-kernel@vger.kernel.org
Subject: Re: [patch] pm: include EIO from errno-base.h
Date: Mon, 30 Apr 2007 14:02:38 -0700 [thread overview]
Message-ID: <20070430140238.ff65e3e0.randy.dunlap@oracle.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0704301215190.17664@chino.kir.corp.google.com>
On Mon, 30 Apr 2007 12:15:57 -0700 (PDT) David Rientjes wrote:
> For backwards compatibility, call_platform_enable_wakeup() can return 0
> instead of -EIO since we aren't guaranteed to have errno defined.
>
> Cc: David Brownell <david-b@pacbell.net>
> Signed-off-by: David Rientjes <rientjes@google.com>
> ---
> include/linux/pm.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/pm.h b/include/linux/pm.h
> --- a/include/linux/pm.h
> +++ b/include/linux/pm.h
> @@ -328,7 +328,7 @@ static inline void dpm_runtime_resume(struct device * dev)
>
> static inline int call_platform_enable_wakeup(struct device *dev, int is_on)
> {
> - return -EIO;
> + return 0;
> }
>
> #endif
Andrew,
Can you fasttrack this one? otherwise allnoconfig fails. :(
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
prev parent reply other threads:[~2007-04-30 20:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-30 14:34 [patch] pm: include EIO from errno-base.h David Rientjes
2007-04-30 14:51 ` David Brownell
2007-04-30 19:15 ` David Rientjes
2007-04-30 21:02 ` Randy Dunlap [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=20070430140238.ff65e3e0.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rientjes@google.com \
/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