* Re: RE: [Power-supply]: Error handling in max17042_battery.c
@ 2011-08-29 5:58 함명주
0 siblings, 0 replies; only message in thread
From: 함명주 @ 2011-08-29 5:58 UTC (permalink / raw)
To: Pallala, Ramakrishna, linux-kernel@vger.kernel.org
Cc: dwmw2@infradead.org, cbouatmailru@gmail.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=euc-kr, Size: 1165 bytes --]
I guess your spam filter filtered out my reply..?
The reply posted 3 days ago: https://lkml.org/lkml/2011/8/26/32
In short, please go ahead.
Cheers
MyungJoo
------- Original Message -------
Sender : Pallala, Ramakrishna<ramakrishna.pallala@intel.com>
Date : 2011-08-29 14:30 (GMT+09:00)
Title : RE: [Power-supply]: Error handling in max17042_battery.c
> Hi All,
>
> I am working on the I2C based max17042 fuel gauge driver
> Which is drivers/power/max17042_battery.c
>
> 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. Shouldn't we check
> for the 'correctness' of the returned values and then
> assign them ? Can I submit a patch to change this ?
>
> Or Is this done intentionally ?
Any inputs on this?
Thanks,
Ram
MyungJoo Ham (ÇÔ¸íÁÖ)
Mobile Software Platform Lab,
Digital Media and Communications (DMC) Business
Samsung Electronics
cell: +82-10-6714-2858 / office: +82-31-279-8033ÿôèº{.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¥
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-29 5:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-29 5:58 RE: [Power-supply]: Error handling in max17042_battery.c 함명주
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox