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] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTim-v0SesMCW-Nu=PX5Qzoe025dgwdfhjDzMNEgY@mail.gmail.com>
Date:	Tue, 4 Jan 2011 10:02:24 +0800
From:	Yong Shen <yong.shen@...aro.org>
To:	Axel Lin <axel.lin@...il.com>
Cc:	linux-kernel@...r.kernel.org, Liam Girdwood <lrg@...mlogic.co.uk>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: Re: [PATCH] regulator: Assign return value of mc13xxx_reg_rmw to ret

Acked-by: Yong Shen <yong.shen@...aro.org>

On Mon, Jan 3, 2011 at 11:57 PM, Axel Lin <axel.lin@...il.com> wrote:
> Otherwise, we will not return error if write to MC13892_SWITCHERS5 failed.
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
> ---
>  drivers/regulator/mc13892-regulator.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/regulator/mc13892-regulator.c b/drivers/regulator/mc13892-regulator.c
> index 16a0532..1b8f739 100644
> --- a/drivers/regulator/mc13892-regulator.c
> +++ b/drivers/regulator/mc13892-regulator.c
> @@ -550,7 +550,7 @@ static int __devinit mc13892_regulator_probe(struct platform_device *pdev)
>                if (ret)
>                        goto err_free;
>
> -               mc13xxx_reg_rmw(mc13892, MC13892_SWITCHERS5,
> +               ret = mc13xxx_reg_rmw(mc13892, MC13892_SWITCHERS5,
>                        MC13892_SWITCHERS5_SW3MODE_M |
>                        MC13892_SWITCHERS5_SW4MODE_M,
>                        MC13892_SWITCHERS5_SW3MODE_AUTO |
> --
> 1.7.0.4
>
>
>
>
--
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