From: MyungJoo Ham <myungjoo.ham@samsung.com>
To: Ramakrishna Pallala <ramakrishna.pallala@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "Anton Vorontsov" <cbouatmailru@gmail.com>,
"dwmw2@infradead.org" <dwmw2@infradead.org>,
박경민 <kyungmin.park@samsung.com>,
"Wolfram Sang" <w.sang@pengutronix.de>,
"durgadoss.r@intel.com" <durgadoss.r@intel.com>
Subject: Re: [PATCHv1 1/1] [Power Supply]: Fix error handling in max17042 fuel gauge
Date: Mon, 05 Sep 2011 01:24:36 +0000 (GMT) [thread overview]
Message-ID: <18021216.478661315185875229.JavaMail.weblogic@epml15> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=euc-kr, Size: 763 bytes --]
Sender : Ramakrishna Pallala<ramakrishna.pallala@intel.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@samsung.com>ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next reply other threads:[~2011-09-05 1:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-05 1:24 MyungJoo Ham [this message]
2011-09-07 8:30 ` [PATCHv1 1/1] [Power Supply]: Fix error handling in max17042 fuel gauge Pallala, Ramakrishna
2011-11-26 0:15 ` Anton Vorontsov
2011-11-28 6:01 ` Pallala, Ramakrishna
-- strict thread matches above, loose matches on Subject: below --
2011-09-02 6:45 Ramakrishna Pallala
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=18021216.478661315185875229.JavaMail.weblogic@epml15 \
--to=myungjoo.ham@samsung.com \
--cc=cbouatmailru@gmail.com \
--cc=durgadoss.r@intel.com \
--cc=dwmw2@infradead.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ramakrishna.pallala@intel.com \
--cc=w.sang@pengutronix.de \
/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