lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 30 Apr 2007 14:02:38 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	David Rientjes <rientjes@...gle.com>
Cc:	David Brownell <david-b@...bell.net>, linux-kernel@...r.kernel.org
Subject: Re: [patch] pm: include EIO from errno-base.h

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@...bell.net>
> Signed-off-by: David Rientjes <rientjes@...gle.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 ***
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ