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:	Fri, 26 Nov 2010 23:04:15 +0100
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Aaro Koskinen <aaro.koskinen@...ia.com>
Cc:	linux-pm@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pm: fix comments to match runtime callback code

On Friday, November 19, 2010, Aaro Koskinen wrote:
> Commit 05aa55dddb9ee4045c320661068bea78dad6a6e5 changed routines to
> succeed if the driver handler is not defined. Comments were not updated.

Applied to suspend-2.6/linux-next.

Thanks,
Rafael


> Signed-off-by: Aaro Koskinen <aaro.koskinen@...ia.com>
> ---
>  drivers/base/power/generic_ops.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/base/power/generic_ops.c b/drivers/base/power/generic_ops.c
> index 81f2c84..3d2c350 100644
> --- a/drivers/base/power/generic_ops.c
> +++ b/drivers/base/power/generic_ops.c
> @@ -39,7 +39,7 @@ EXPORT_SYMBOL_GPL(pm_generic_runtime_idle);
>   *
>   * If PM operations are defined for the @dev's driver and they include
>   * ->runtime_suspend(), execute it and return its error code.  Otherwise,
> - * return -EINVAL.
> + * return 0.
>   */
>  int pm_generic_runtime_suspend(struct device *dev)
>  {
> @@ -58,7 +58,7 @@ EXPORT_SYMBOL_GPL(pm_generic_runtime_suspend);
>   *
>   * If PM operations are defined for the @dev's driver and they include
>   * ->runtime_resume(), execute it and return its error code.  Otherwise,
> - * return -EINVAL.
> + * return 0.
>   */
>  int pm_generic_runtime_resume(struct device *dev)
>  {
> 

--
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