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-next>] [day] [month] [year] [list]
Message-id: <18021216.478661315185875229.JavaMail.weblogic@epml15>
Date:	Mon, 05 Sep 2011 01:24:36 +0000 (GMT)
From:	MyungJoo Ham <myungjoo.ham@...sung.com>
To:	Ramakrishna Pallala <ramakrishna.pallala@...el.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc:	Anton Vorontsov <cbouatmailru@...il.com>,
	"dwmw2@...radead.org" <dwmw2@...radead.org>,
	¹Ú°æ¹Î <kyungmin.park@...sung.com>,
	Wolfram Sang <w.sang@...gutronix.de>,
	"durgadoss.r@...el.com" <durgadoss.r@...el.com>
Subject: Re: [PATCHv1 1/1] [Power Supply]: Fix error handling in max17042 fuel
 gauge

Sender : Ramakrishna Pallala<ramakrishna.pallala@...el.com> Date : 2011-09-02 15:45 (GMT+09:00)
> 
> In max17042_get_property(...), the values returned by
> max17042_read_reg are directly assigned to the variables,
> even if the read results in an error.
> 
> This patch checks for the return code from max17042_read_reg and
> exits the function if there is any error.
> 
> Signed-off-by: Ramakrishna Pallala 
> ---
> drivers/power/max17042_battery.c |   85 ++++++++++++++++++++++++++------------
> 1 files changed, 58 insertions(+), 27 deletions(-)
> 

Acked-by: MyungJoo Ham <myungjoo.ham@...sung.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ